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

Side by Side Diff: chrome/browser/dom_ui/options/personal_options_handler.h

Issue 6489007: Always use ProfileSyncService::ShowErrorUI to handle error links. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | chrome/browser/dom_ui/options/personal_options_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_DOM_UI_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 24 matching lines...) Expand all
35 35
36 // ProfileSyncServiceObserver implementation. 36 // ProfileSyncServiceObserver implementation.
37 virtual void OnStateChanged(); 37 virtual void OnStateChanged();
38 38
39 // BrowserSignin::SigninDelegate implementation. 39 // BrowserSignin::SigninDelegate implementation.
40 virtual void OnLoginSuccess(); 40 virtual void OnLoginSuccess();
41 virtual void OnLoginFailure(const GoogleServiceAuthError& error); 41 virtual void OnLoginFailure(const GoogleServiceAuthError& error);
42 42
43 private: 43 private:
44 void ObserveThemeChanged(); 44 void ObserveThemeChanged();
45 void ShowSyncActionDialog(const ListValue* args);
45 void ShowSyncLoginDialog(const ListValue* args); 46 void ShowSyncLoginDialog(const ListValue* args);
46 void ShowCustomizeSyncDialog(const ListValue* args); 47 void ShowCustomizeSyncDialog(const ListValue* args);
47 void ThemesReset(const ListValue* args); 48 void ThemesReset(const ListValue* args);
48 #if defined(TOOLKIT_GTK) 49 #if defined(TOOLKIT_GTK)
49 void ThemesSetGTK(const ListValue* args); 50 void ThemesSetGTK(const ListValue* args);
50 #endif 51 #endif
51 52
52 // Called when the user updates the set of enabled data types to sync. |args| 53 // Called when the user updates the set of enabled data types to sync. |args|
53 // is ignored. 54 // is ignored.
54 void OnPreferredDataTypesUpdated(const ListValue* args); 55 void OnPreferredDataTypesUpdated(const ListValue* args);
55 56
56 #if defined(OS_CHROMEOS) 57 #if defined(OS_CHROMEOS)
57 void LoadAccountPicture(const ListValue* args); 58 void LoadAccountPicture(const ListValue* args);
58 #endif 59 #endif
59 60
60 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; 61 scoped_ptr<OptionsManagedBannerHandler> banner_handler_;
61 62
62 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); 63 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler);
63 }; 64 };
64 65
65 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ 66 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/dom_ui/options/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698