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

Unified Diff: chrome/browser/ui/sync/one_click_signin_sync_starter.h

Issue 2800683008: Sync confirmation: change "Settings" link to checkbox (Closed)
Patch Set: tests Created 3 years, 8 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/ui/sync/one_click_signin_sync_starter.h
diff --git a/chrome/browser/ui/sync/one_click_signin_sync_starter.h b/chrome/browser/ui/sync/one_click_signin_sync_starter.h
index 0936bfa7378ecf6d7837962c0e65a1c04dc42c14..7311d29be84f0b023f8db1db19f2243bb41e54d6 100644
--- a/chrome/browser/ui/sync/one_click_signin_sync_starter.h
+++ b/chrome/browser/ui/sync/one_click_signin_sync_starter.h
@@ -132,14 +132,18 @@ class OneClickSigninSyncStarter : public SigninTracker::Observer,
// desktop, adds an empty tab and makes sure the browser is visible.
static Browser* EnsureBrowser(Browser* browser, Profile* profile);
+ protected:
+ ~OneClickSigninSyncStarter() override;
+
+ // Overridden from tests.
+ virtual void ShowSyncSetupSettingsSubpage();
+
private:
friend class OneClickSigninSyncStarterTest;
FRIEND_TEST_ALL_PREFIXES(OneClickSigninSyncStarterTest, CallbackSigninFailed);
FRIEND_TEST_ALL_PREFIXES(OneClickSigninSyncStarterTest, CallbackNull);
FRIEND_TEST_ALL_PREFIXES(OneClickSigninSyncStarterTest, LoadContinueUrl);
- ~OneClickSigninSyncStarter() override;
-
// Initializes the internals of the OneClickSigninSyncStarter object. Can also
// be used to re-initialize the object to refer to a newly created profile.
void Initialize(Profile* profile, Browser* browser);

Powered by Google App Engine
This is Rietveld 408576698