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

Side by Side Diff: chrome/browser/ui/sync/one_click_signin_sync_starter.h

Issue 1104153002: Expose ReconcilorState. Rename MergeSession in Signin Tracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: VLOGging the reconcilor Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_SYNC_STARTER_H_ 5 #ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_SYNC_STARTER_H_
6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_SYNC_STARTER_H_ 6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_SYNC_STARTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 ~OneClickSigninSyncStarter() override; 123 ~OneClickSigninSyncStarter() override;
124 124
125 // Initializes the internals of the OneClickSigninSyncStarter object. Can also 125 // Initializes the internals of the OneClickSigninSyncStarter object. Can also
126 // be used to re-initialize the object to refer to a newly created profile. 126 // be used to re-initialize the object to refer to a newly created profile.
127 void Initialize(Profile* profile, Browser* browser); 127 void Initialize(Profile* profile, Browser* browser);
128 128
129 // SigninTracker::Observer override. 129 // SigninTracker::Observer override.
130 void SigninFailed(const GoogleServiceAuthError& error) override; 130 void SigninFailed(const GoogleServiceAuthError& error) override;
131 void SigninSuccess() override; 131 void SigninSuccess() override;
132 void MergeSessionComplete(const GoogleServiceAuthError& error) override; 132 void AccountAddedToCookie(const GoogleServiceAuthError& error) override;
133 133
134 // LoginUIService::Observer override. 134 // LoginUIService::Observer override.
135 void OnSyncConfirmationUIClosed(bool configure_sync_first) override; 135 void OnSyncConfirmationUIClosed(bool configure_sync_first) override;
136 136
137 #if defined(ENABLE_CONFIGURATION_POLICY) 137 #if defined(ENABLE_CONFIGURATION_POLICY)
138 // User input handler for the signin confirmation dialog. 138 // User input handler for the signin confirmation dialog.
139 class SigninDialogDelegate 139 class SigninDialogDelegate
140 : public ui::ProfileSigninConfirmationDelegate { 140 : public ui::ProfileSigninConfirmationDelegate {
141 public: 141 public:
142 SigninDialogDelegate( 142 SigninDialogDelegate(
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 std::string client_id_; 237 std::string client_id_;
238 #endif 238 #endif
239 239
240 base::WeakPtrFactory<OneClickSigninSyncStarter> weak_pointer_factory_; 240 base::WeakPtrFactory<OneClickSigninSyncStarter> weak_pointer_factory_;
241 241
242 DISALLOW_COPY_AND_ASSIGN(OneClickSigninSyncStarter); 242 DISALLOW_COPY_AND_ASSIGN(OneClickSigninSyncStarter);
243 }; 243 };
244 244
245 245
246 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_SYNC_STARTER_H_ 246 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_SYNC_STARTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/signin/signin_tracker_unittest.cc ('k') | chrome/browser/ui/sync/one_click_signin_sync_starter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698