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

Unified Diff: chrome/browser/sync/profile_sync_service.h

Issue 6357011: Stop using browser signin for passphrase migration, just use the normal signi... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.h
===================================================================
--- chrome/browser/sync/profile_sync_service.h (revision 72173)
+++ chrome/browser/sync/profile_sync_service.h (working copy)
@@ -15,7 +15,6 @@
#include "base/string16.h"
#include "base/time.h"
#include "base/timer.h"
-#include "chrome/browser/browser_signin.h"
#include "chrome/browser/prefs/pref_member.h"
#include "chrome/browser/sync/engine/syncapi.h"
#include "chrome/browser/sync/glue/data_type_controller.h"
@@ -85,7 +84,6 @@
//
class ProfileSyncService : public browser_sync::SyncFrontend,
public browser_sync::UnrecoverableErrorHandler,
- public BrowserSignin::SigninDelegate,
public NotificationObserver {
public:
typedef ProfileSyncServiceObserver Observer;
@@ -234,8 +232,7 @@
void ShowConfigure(gfx::NativeWindow parent_window);
void PromptForExistingPassphrase(gfx::NativeWindow parent_window);
- void SigninForPassphrase(TabContents* container);
- void ShowPassphraseMigration(gfx::NativeWindow parent_window);
+ void SigninForPassphraseMigration(gfx::NativeWindow parent_window);
// Pretty-printed strings for a given StatusSummary.
static std::string BuildSyncStatusSummaryText(
@@ -340,10 +337,6 @@
const NotificationSource& source,
const NotificationDetails& details);
- // BrowserSignin::SigninDelegate interface.
- virtual void OnLoginSuccess();
- virtual void OnLoginFailure(const GoogleServiceAuthError& error);
-
// Changes which data types we're going to be syncing to |preferred_types|.
// If it is running, the DataTypeManager will be instructed to reconfigure
// the sync backend so that exactly these datatypes are actively synced. See
@@ -453,6 +446,9 @@
// was required for decryption?
bool passphrase_required_for_decryption_;
+ // Is the user in a passphrase migration?
+ bool passphrase_migration_in_progress_;
+
private:
friend class ProfileSyncServiceTest;
friend class ProfileSyncServicePasswordTest;
« no previous file with comments | « no previous file | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698