| OLD | NEW |
| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 std::string client_id_; | 241 std::string client_id_; |
| 242 | 242 |
| 243 // This only cares about the first AccountAddedToCookie event. Since | 243 // This only cares about the first AccountAddedToCookie event. Since |
| 244 // SigninTracker always expects an observer, this object will just disregard | 244 // SigninTracker always expects an observer, this object will just disregard |
| 245 // following AccountAddedToCookie calls triggered by account reconciliation. | 245 // following AccountAddedToCookie calls triggered by account reconciliation. |
| 246 bool first_account_added_to_cookie_; | 246 bool first_account_added_to_cookie_; |
| 247 | 247 |
| 248 // Prevents Sync from running until configuration is complete. | 248 // Prevents Sync from running until configuration is complete. |
| 249 std::unique_ptr<syncer::SyncSetupInProgressHandle> sync_blocker_; | 249 std::unique_ptr<syncer::SyncSetupInProgressHandle> sync_blocker_; |
| 250 | 250 |
| 251 // Temporary flag to disable new sync confirm page if user choose to create a |
| 252 // new profile after the corp account signin. |
| 253 bool skip_sync_confirm_; |
| 254 |
| 251 base::WeakPtrFactory<OneClickSigninSyncStarter> weak_pointer_factory_; | 255 base::WeakPtrFactory<OneClickSigninSyncStarter> weak_pointer_factory_; |
| 252 | 256 |
| 253 DISALLOW_COPY_AND_ASSIGN(OneClickSigninSyncStarter); | 257 DISALLOW_COPY_AND_ASSIGN(OneClickSigninSyncStarter); |
| 254 }; | 258 }; |
| 255 | 259 |
| 256 | 260 |
| 257 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_SYNC_STARTER_H_ | 261 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_SYNC_STARTER_H_ |
| OLD | NEW |