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_ |
+ |