Update for move of BuildUserAgentFromProduct in Chrome 35
See https://codereview.chromium.org/186883002
This commit is contained in:
parent
51ac56e4c4
commit
8e7fbd604c
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@
|
|||
|
||||
#include "base/strings/stringprintf.h"
|
||||
#include "base/strings/string_util.h"
|
||||
#include "content/public/common/user_agent.h"
|
||||
#include "ui/base/resource/resource_bundle.h"
|
||||
#include "webkit/common/user_agent/user_agent_util.h"
|
||||
|
||||
namespace brightray {
|
||||
|
||||
|
@ -27,7 +27,7 @@ std::string ContentClient::GetProduct() const {
|
|||
}
|
||||
|
||||
std::string ContentClient::GetUserAgent() const {
|
||||
return webkit_glue::BuildUserAgentFromProduct(GetProduct());
|
||||
return content::BuildUserAgentFromProduct(GetProduct());
|
||||
}
|
||||
|
||||
base::StringPiece ContentClient::GetDataResource(
|
||||
|
|
Loading…
Reference in a new issue