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

Unified Diff: chrome/browser/browser_process_platform_part_chromeos.h

Issue 14951007: Refactor BrowserProcessPlatformPart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ios? Created 7 years, 7 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
Index: chrome/browser/browser_process_platform_part_chromeos.h
diff --git a/chrome/browser/browser_process_platform_part_chromeos.h b/chrome/browser/browser_process_platform_part_chromeos.h
index 5976302986e3d2ff0f4b1b250f6774d84ead5839..b5a8bddebffc924062ae826722447815d7d3851c 100644
--- a/chrome/browser/browser_process_platform_part_chromeos.h
+++ b/chrome/browser/browser_process_platform_part_chromeos.h
@@ -8,27 +8,19 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/threading/non_thread_safe.h"
-
-class CommandLine;
+#include "chrome/browser/browser_process_platform_part_base.h"
namespace chromeos {
class OomPriorityManager;
class ProfileHelper;
}
-class BrowserProcessPlatformPart : public base::NonThreadSafe {
+class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
+ public base::NonThreadSafe {
public:
BrowserProcessPlatformPart();
virtual ~BrowserProcessPlatformPart();
- // Called after creating the process singleton or when another chrome
- // rendez-vous with this one.
- virtual void PlatformSpecificCommandLineProcessing(
- const CommandLine& command_line);
-
- // Called from BrowserProcessImpl::StartTearDown().
- virtual void StartTearDown();
-
// Returns the out-of-memory priority manager.
virtual chromeos::OomPriorityManager* oom_priority_manager();
@@ -36,6 +28,9 @@ class BrowserProcessPlatformPart : public base::NonThreadSafe {
// users and their profiles in Chrome OS multi user session.
virtual chromeos::ProfileHelper* profile_helper();
+ // Overridden from BrowserProcessPlatformPartBase:
+ virtual void StartTearDown() OVERRIDE;
+
protected:
virtual void CreateProfileHelper();
« no previous file with comments | « chrome/browser/browser_process_platform_part_base.cc ('k') | chrome/browser/browser_process_platform_part_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698