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

Side by Side Diff: chrome/browser/ui/webui/options/sync_setup_handler.h

Issue 2457483002: [MD Settings][Sync Settings] Updates sync status messages (Closed)
Patch Set: Addressed maxbogue's and dbeam's comments Created 4 years, 1 month 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_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 // Returns the LoginUIService for the parent profile. 105 // Returns the LoginUIService for the parent profile.
106 LoginUIService* GetLoginUIService() const; 106 LoginUIService* GetLoginUIService() const;
107 107
108 private: 108 private:
109 // Callbacks from the page. 109 // Callbacks from the page.
110 void OnDidClosePage(const base::ListValue* args); 110 void OnDidClosePage(const base::ListValue* args);
111 void HandleConfigure(const base::ListValue* args); 111 void HandleConfigure(const base::ListValue* args);
112 void HandlePassphraseEntry(const base::ListValue* args); 112 void HandlePassphraseEntry(const base::ListValue* args);
113 void HandlePassphraseCancel(const base::ListValue* args); 113 void HandlePassphraseCancel(const base::ListValue* args);
114 void HandleShowSetupUI(const base::ListValue* args); 114 void HandleShowSetupUI(const base::ListValue* args);
115 void HandleDoSignOutOnAuthError(const base::ListValue* args); 115 void HandleAttemptUserExit(const base::ListValue* args);
116 void HandleStartSignin(const base::ListValue* args); 116 void HandleStartSignin(const base::ListValue* args);
117 void HandleStopSyncing(const base::ListValue* args); 117 void HandleStopSyncing(const base::ListValue* args);
118 void HandleCloseTimeout(const base::ListValue* args); 118 void HandleCloseTimeout(const base::ListValue* args);
119 #if !defined(OS_CHROMEOS) 119 #if !defined(OS_CHROMEOS)
120 // Displays the GAIA login form. 120 // Displays the GAIA login form.
121 void DisplayGaiaLogin(signin_metrics::AccessPoint access_point); 121 void DisplayGaiaLogin(signin_metrics::AccessPoint access_point);
122 122
123 // When web-flow is enabled, displays the Gaia login form in a new tab. 123 // When web-flow is enabled, displays the Gaia login form in a new tab.
124 // This function is virtual so that tests can override. 124 // This function is virtual so that tests can override.
125 virtual void DisplayGaiaLoginInNewTabOrWindow( 125 virtual void DisplayGaiaLoginInNewTabOrWindow(
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 bool configuring_sync_; 171 bool configuring_sync_;
172 172
173 // The OneShotTimer object used to timeout of starting the sync backend 173 // The OneShotTimer object used to timeout of starting the sync backend
174 // service. 174 // service.
175 std::unique_ptr<base::OneShotTimer> backend_start_timer_; 175 std::unique_ptr<base::OneShotTimer> backend_start_timer_;
176 176
177 DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler); 177 DISALLOW_COPY_AND_ASSIGN(SyncSetupHandler);
178 }; 178 };
179 179
180 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_ 180 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_SYNC_SETUP_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/browser/ui/webui/options/sync_setup_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698