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

Unified Diff: chrome/browser/chrome_browser_main.h

Issue 8387039: Move content_restriction.h and main_function_params.h to content/public/common, and put them in t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/app/chrome_main_delegate.cc ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.h
===================================================================
--- chrome/browser/chrome_browser_main.h (revision 107906)
+++ chrome/browser/chrome_browser_main.h (working copy)
@@ -23,7 +23,6 @@
class Profile;
class ShutdownWatcherHelper;
class TranslateManager;
-struct MainFunctionParams;
namespace chrome_browser {
// For use by ShowMissingLocaleMessageBox.
@@ -31,6 +30,10 @@
extern const char kMissingLocaleDataMessage[];
}
+namespace content {
+struct MainFunctionParams;
+}
+
class ChromeBrowserMainParts : public content::BrowserMainParts {
public:
virtual ~ChromeBrowserMainParts();
@@ -40,7 +43,7 @@
// switches.
MetricsService* SetupMetricsAndFieldTrials(PrefService* local_state);
- const MainFunctionParams& parameters() const {
+ const content::MainFunctionParams& parameters() const {
return parameters_;
}
const CommandLine& parsed_command_line() const {
@@ -48,7 +51,8 @@
}
protected:
- explicit ChromeBrowserMainParts(const MainFunctionParams& parameters);
+ explicit ChromeBrowserMainParts(
+ const content::MainFunctionParams& parameters);
// content::BrowserParts overrides
virtual void PreEarlyInitialization() OVERRIDE {}
@@ -109,7 +113,7 @@
// Members initialized on construction ---------------------------------------
- const MainFunctionParams& parameters_;
+ const content::MainFunctionParams& parameters_;
const CommandLine& parsed_command_line_;
int result_code_;
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698