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

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

Issue 218903005: Make push messaging not create InvalidationService for login and guest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make code resilient against tests that do not create the Default profile first. Created 6 years, 9 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
index 73324bcf63db53243828c9a83fee3fbebdb0ea15..643b70ef0ed252499d14af1dfe02fce295b34ebb 100644
--- a/chrome/browser/chromeos/profiles/profile_helper.h
+++ b/chrome/browser/chromeos/profiles/profile_helper.h
@@ -17,6 +17,10 @@
class Profile;
+namespace base {
+class FilePath;
+}
+
namespace chromeos {
// This helper class is used on Chrome OS to keep track of currently
@@ -47,6 +51,9 @@ class ProfileHelper : public BrowsingDataRemover::Observer,
static base::FilePath GetProfilePathByUserIdHash(
const std::string& user_id_hash);
+ // Returns the path that corresponds to the sign-in profile.
+ static base::FilePath GetSigninProfileDir();
+
// Returns OffTheRecord profile for use during signing phase.
static Profile* GetSigninProfile();

Powered by Google App Engine
This is Rietveld 408576698