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

Side by Side Diff: chrome/browser/sync/profile_sync_service.h

Issue 9456031: Remove PSS::ShowLoginDialog() and obsolete IDC_SYNC_BOOKMARKS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review feedback. Created 8 years, 10 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 | Annotate | Revision Log
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_SYNC_PROFILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 // progress, the sync system is already authenticated, or some error 275 // progress, the sync system is already authenticated, or some error
276 // occurred preventing the action. We make it the duty of ProfileSyncService 276 // occurred preventing the action. We make it the duty of ProfileSyncService
277 // to open the dialog to easily ensure only one is ever showing. 277 // to open the dialog to easily ensure only one is ever showing.
278 virtual bool SetupInProgress() const; 278 virtual bool SetupInProgress() const;
279 bool WizardIsVisible() const { 279 bool WizardIsVisible() const {
280 return wizard_.IsVisible(); 280 return wizard_.IsVisible();
281 } 281 }
282 282
283 SyncSetupWizard& get_wizard() { return wizard_; } 283 SyncSetupWizard& get_wizard() { return wizard_; }
284 284
285 // Shows the login screen of the Sync setup wizard.
286 virtual void ShowLoginDialog();
287
288 // This method handles clicks on "sync error" UI, showing the appropriate 285 // This method handles clicks on "sync error" UI, showing the appropriate
289 // dialog for the error condition (relogin / enter passphrase). 286 // dialog for the error condition (relogin / enter passphrase).
290 virtual void ShowErrorUI(); 287 virtual void ShowErrorUI();
291 288
292 // Shows the configure screen of the Sync setup wizard. If |sync_everything| 289 // Shows the configure screen of the Sync setup wizard. If |sync_everything|
293 // is true, shows the corresponding page in the customize screen; otherwise, 290 // is true, shows the corresponding page in the customize screen; otherwise,
294 // displays the page that gives the user the ability to select which data 291 // displays the page that gives the user the ability to select which data
295 // types to sync. 292 // types to sync.
296 void ShowConfigure(bool sync_everything); 293 void ShowConfigure(bool sync_everything);
297 294
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 browser_sync::DataTypeManager::ConfigureStatus configure_status_; 747 browser_sync::DataTypeManager::ConfigureStatus configure_status_;
751 748
752 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 749 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
753 }; 750 };
754 751
755 bool ShouldShowActionOnUI( 752 bool ShouldShowActionOnUI(
756 const browser_sync::SyncProtocolError& error); 753 const browser_sync::SyncProtocolError& error);
757 754
758 755
759 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 756 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/app_notify_channel_ui.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698