| Index: content/shell/common/shell_content_client.cc
|
| diff --git a/content/shell/common/shell_content_client.cc b/content/shell/common/shell_content_client.cc
|
| index e951aed999bb032a455e8e501804207420875de2..db521d47712e1f29755b6a1ef9381e6d65d8a49e 100644
|
| --- a/content/shell/common/shell_content_client.cc
|
| +++ b/content/shell/common/shell_content_client.cc
|
| @@ -20,7 +20,7 @@ namespace content {
|
|
|
| std::string GetShellUserAgent() {
|
| std::string product = "Chrome/" CONTENT_SHELL_VERSION;
|
| - CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| + base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| if (command_line->HasSwitch(switches::kUseMobileUserAgent))
|
| product += " Mobile";
|
| return BuildUserAgentFromProduct(product);
|
| @@ -34,7 +34,8 @@ std::string ShellContentClient::GetUserAgent() const {
|
| }
|
|
|
| base::string16 ShellContentClient::GetLocalizedString(int message_id) const {
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) {
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDumpRenderTree)) {
|
| switch (message_id) {
|
| case IDS_FORM_OTHER_DATE_LABEL:
|
| return base::ASCIIToUTF16("<<OtherDateLabel>>");
|
| @@ -60,7 +61,8 @@ base::string16 ShellContentClient::GetLocalizedString(int message_id) const {
|
| base::StringPiece ShellContentClient::GetDataResource(
|
| int resource_id,
|
| ui::ScaleFactor scale_factor) const {
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) {
|
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDumpRenderTree)) {
|
| switch (resource_id) {
|
| case IDR_BROKENIMAGE:
|
| #if defined(OS_MACOSX)
|
|
|