Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4448)

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_browser_main_win.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 834824cc812576c21a16ed94de39bdbd44292e50..9b5bf2923b25213f0fb44c526abd89b775980f4c 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -19,6 +19,10 @@
#include "base/memory/scoped_ptr.h"
#endif
+namespace base {
+class CommandLine;
+}
+
namespace content {
class QuotaPermissionContext;
}
@@ -117,7 +121,7 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
virtual bool ShouldAssignSiteForURL(const GURL& url) OVERRIDE;
virtual std::string GetCanonicalEncodingNameByAliasName(
const std::string& alias_name) OVERRIDE;
- virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
+ virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
int child_process_id) OVERRIDE;
virtual std::string GetApplicationLocale() OVERRIDE;
virtual std::string GetAcceptLangs(
@@ -261,7 +265,7 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
#if defined(OS_POSIX) && !defined(OS_MACOSX)
virtual void GetAdditionalMappedFilesForChildProcess(
- const CommandLine& command_line,
+ const base::CommandLine& command_line,
int child_process_id,
std::vector<content::FileDescriptorInfo>* mappings) OVERRIDE;
#endif
@@ -281,8 +285,8 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
#if defined(ENABLE_WEBRTC)
// Copies disable WebRTC encryption switch depending on the channel.
static void MaybeCopyDisableWebRtcEncryptionSwitch(
- CommandLine* to_command_line,
- const CommandLine& from_command_line,
+ base::CommandLine* to_command_line,
+ const base::CommandLine& from_command_line,
VersionInfo::Channel channel);
#endif
« no previous file with comments | « chrome/browser/chrome_browser_main_win.h ('k') | chrome/browser/chromeos/login/chrome_restart_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698