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

Unified Diff: chrome/browser/chromeos/profiles/profile_helper.h

Issue 13633003: Part of multiprofile implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits fixed. Created 7 years, 8 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/chromeos/profiles/profile_helper.h
diff --git a/chrome/browser/chromeos/profiles/profile_helper.h b/chrome/browser/chromeos/profiles/profile_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..dfd196977ee6d67191f05e0b3f26c5a967f1a1bc
--- /dev/null
+++ b/chrome/browser/chromeos/profiles/profile_helper.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_
+#define CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_
+
+#include "base/basictypes.h"
+
+class Profile;
+
+namespace chromeos {
+
+class ProfileHelper {
+ public:
+ // Returns OffTheRecord profile for usign during signing phase.
sail 2013/04/15 15:42:53 for usign -> for use
dzhioev (left Google) 2013/04/15 19:48:11 Done.
+ static Profile* GetSigninProfile();
+
+ // Initialize a bunch of services that are tied to a browser profile.
+ // TODO(beng): It is very fishy that any of these services need to be tied to
sail 2013/04/15 15:42:53 remove comment
dzhioev (left Google) 2013/04/15 19:48:11 Done.
+ // a browser profile. This dependency should be severed and this
+ // init moved earlier in startup.
+ static void ProfileStartup(Profile* profile, bool process_startup);
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(ProfileHelper);
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_PROFILES_PROFILE_HELPER_H_
+

Powered by Google App Engine
This is Rietveld 408576698