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

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

Issue 7093004: Sync: Refactor the ProfileSyncService and sync setup flow to remove use of WebUI from PSS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes and cleanups. Created 9 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PERSONAL_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "chrome/browser/browser_signin.h" 10 #include "chrome/browser/browser_signin.h"
(...skipping 27 matching lines...) Expand all
38 38
39 // ProfileSyncServiceObserver implementation. 39 // ProfileSyncServiceObserver implementation.
40 virtual void OnStateChanged(); 40 virtual void OnStateChanged();
41 41
42 // BrowserSignin::SigninDelegate implementation. 42 // BrowserSignin::SigninDelegate implementation.
43 virtual void OnLoginSuccess(); 43 virtual void OnLoginSuccess();
44 virtual void OnLoginFailure(const GoogleServiceAuthError& error); 44 virtual void OnLoginFailure(const GoogleServiceAuthError& error);
45 45
46 private: 46 private:
47 void ObserveThemeChanged(); 47 void ObserveThemeChanged();
48 void ShowSyncActionDialog(const ListValue* args);
49 void ShowSyncLoginDialog(const ListValue* args);
50 void ShowCustomizeSyncDialog(const ListValue* args);
51 void ThemesReset(const ListValue* args); 48 void ThemesReset(const ListValue* args);
52 #if defined(TOOLKIT_GTK) 49 #if defined(TOOLKIT_GTK)
53 void ThemesSetGTK(const ListValue* args); 50 void ThemesSetGTK(const ListValue* args);
54 #endif 51 #endif
55 52
56 #if defined(OS_CHROMEOS) 53 #if defined(OS_CHROMEOS)
57 void LoadAccountPicture(const ListValue* args); 54 void LoadAccountPicture(const ListValue* args);
58 NotificationRegistrar registrar_; 55 NotificationRegistrar registrar_;
59 #endif 56 #endif
60 57
61 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; 58 scoped_ptr<OptionsManagedBannerHandler> banner_handler_;
62 59
63 // True if the multiprofiles switch is enabled. 60 // True if the multiprofiles switch is enabled.
64 bool multiprofile_; 61 bool multiprofile_;
65 62
66 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); 63 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler);
67 }; 64 };
68 65
69 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ 66 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc ('k') | chrome/browser/ui/webui/options/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698