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

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

Issue 502343002: Add account_id to signin manager notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isauth
Patch Set: Fix android trybots Created 6 years, 3 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
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_BROWSER_OPTIONS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual void PageLoadStarted() OVERRIDE; 69 virtual void PageLoadStarted() OVERRIDE;
70 virtual void InitializeHandler() OVERRIDE; 70 virtual void InitializeHandler() OVERRIDE;
71 virtual void InitializePage() OVERRIDE; 71 virtual void InitializePage() OVERRIDE;
72 virtual void RegisterMessages() OVERRIDE; 72 virtual void RegisterMessages() OVERRIDE;
73 virtual void Uninitialize() OVERRIDE; 73 virtual void Uninitialize() OVERRIDE;
74 74
75 // ProfileSyncServiceObserver implementation. 75 // ProfileSyncServiceObserver implementation.
76 virtual void OnStateChanged() OVERRIDE; 76 virtual void OnStateChanged() OVERRIDE;
77 77
78 // SigninManagerBase::Observer implementation. 78 // SigninManagerBase::Observer implementation.
79 virtual void GoogleSigninSucceeded(const std::string& username, 79 virtual void GoogleSigninSucceeded(const std::string& account_id,
80 const std::string& username,
80 const std::string& password) OVERRIDE; 81 const std::string& password) OVERRIDE;
81 virtual void GoogleSignedOut(const std::string& username) OVERRIDE; 82 virtual void GoogleSignedOut(const std::string& account_id,
83 const std::string& username) OVERRIDE;
82 84
83 // ShellIntegration::DefaultWebClientObserver implementation. 85 // ShellIntegration::DefaultWebClientObserver implementation.
84 virtual void SetDefaultWebClientUIState( 86 virtual void SetDefaultWebClientUIState(
85 ShellIntegration::DefaultWebClientUIState state) OVERRIDE; 87 ShellIntegration::DefaultWebClientUIState state) OVERRIDE;
86 virtual bool IsInteractiveSetDefaultPermitted() OVERRIDE; 88 virtual bool IsInteractiveSetDefaultPermitted() OVERRIDE;
87 89
88 // TemplateURLServiceObserver implementation. 90 // TemplateURLServiceObserver implementation.
89 virtual void OnTemplateURLServiceChanged() OVERRIDE; 91 virtual void OnTemplateURLServiceChanged() OVERRIDE;
90 92
91 // extensions::ExtensionRegistryObserver: 93 // extensions::ExtensionRegistryObserver:
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 362
361 // Used to get WeakPtr to self for use on the UI thread. 363 // Used to get WeakPtr to self for use on the UI thread.
362 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; 364 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_;
363 365
364 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 366 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
365 }; 367 };
366 368
367 } // namespace options 369 } // namespace options
368 370
369 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 371 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698