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

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

Issue 6344004: DOMUI: Move the meat of SyncOptionsHandler into PersonalOptionsHandler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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) 2010 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 "chrome/browser/browser_signin.h" 9 #include "chrome/browser/browser_signin.h"
10 #include "chrome/browser/dom_ui/options/options_ui.h" 10 #include "chrome/browser/dom_ui/options/options_ui.h"
11 #include "chrome/browser/sync/profile_sync_service.h" 11 #include "chrome/browser/sync/profile_sync_service.h"
(...skipping 28 matching lines...) Expand all
40 virtual void OnLoginFailure(const GoogleServiceAuthError& error); 40 virtual void OnLoginFailure(const GoogleServiceAuthError& error);
41 41
42 private: 42 private:
43 void ObserveThemeChanged(); 43 void ObserveThemeChanged();
44 void ShowSyncLoginDialog(const ListValue* args); 44 void ShowSyncLoginDialog(const ListValue* args);
45 void ThemesReset(const ListValue* args); 45 void ThemesReset(const ListValue* args);
46 #if defined(TOOLKIT_GTK) 46 #if defined(TOOLKIT_GTK)
47 void ThemesSetGTK(const ListValue* args); 47 void ThemesSetGTK(const ListValue* args);
48 #endif 48 #endif
49 49
50 // Called when the user updates the set of enabled data types to sync. |args|
51 // is ignored.
52 void OnPreferredDataTypesUpdated(const ListValue* args);
53
50 scoped_ptr<OptionsManagedBannerHandler> banner_handler_; 54 scoped_ptr<OptionsManagedBannerHandler> banner_handler_;
51 55
52 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler); 56 DISALLOW_COPY_AND_ASSIGN(PersonalOptionsHandler);
53 }; 57 };
54 58
55 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_ 59 #endif // CHROME_BROWSER_DOM_UI_OPTIONS_PERSONAL_OPTIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/options/options_ui.cc ('k') | chrome/browser/dom_ui/options/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698