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

Unified Diff: chrome/browser/browser_process_platform_part_chromeos.h

Issue 444903002: [cros] user_manager component - move UserManagerBase and UserManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 8fe87aaadece65554bc423502cd90ffacd3f063c..06e8b64252710aa4158b1a328da65a0276d6eb51 100644
--- a/chrome/browser/browser_process_platform_part_chromeos.h
+++ b/chrome/browser/browser_process_platform_part_chromeos.h
@@ -15,6 +15,7 @@ class CommandLine;
}
namespace chromeos {
+class ChromeUserManager;
class OomPriorityManager;
class ProfileHelper;
}
@@ -45,6 +46,9 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
void InitializeAutomaticRebootManager();
void ShutdownAutomaticRebootManager();
+ void InitializeChromeUserManager();
+ void DestroyChromeUserManager();
+
void InitializeSessionManager(const base::CommandLine& parsed_command_line,
Profile* profile,
bool is_running_test);
@@ -69,6 +73,10 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
policy::BrowserPolicyConnectorChromeOS* browser_policy_connector_chromeos();
+ chromeos::ChromeUserManager* user_manager() {
+ return chrome_user_manager_.get();
+ }
+
// Overridden from BrowserProcessPlatformPartBase:
virtual void StartTearDown() OVERRIDE;
@@ -88,6 +96,8 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
scoped_ptr<chromeos::system::AutomaticRebootManager>
automatic_reboot_manager_;
+ scoped_ptr<chromeos::ChromeUserManager> chrome_user_manager_;
+
DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
};

Powered by Google App Engine
This is Rietveld 408576698