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

Side by Side Diff: chrome/browser/ui/app_list/app_list_view_delegate.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_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // Overridden from HotwordClient: 122 // Overridden from HotwordClient:
123 virtual void OnHotwordStateChanged(bool started) OVERRIDE; 123 virtual void OnHotwordStateChanged(bool started) OVERRIDE;
124 virtual void OnHotwordRecognized() OVERRIDE; 124 virtual void OnHotwordRecognized() OVERRIDE;
125 125
126 // Overridden from SigninManagerFactory::Observer: 126 // Overridden from SigninManagerFactory::Observer:
127 virtual void SigninManagerCreated(SigninManagerBase* manager) OVERRIDE; 127 virtual void SigninManagerCreated(SigninManagerBase* manager) OVERRIDE;
128 virtual void SigninManagerShutdown(SigninManagerBase* manager) OVERRIDE; 128 virtual void SigninManagerShutdown(SigninManagerBase* manager) OVERRIDE;
129 129
130 // Overridden from SigninManagerBase::Observer: 130 // Overridden from SigninManagerBase::Observer:
131 virtual void GoogleSigninFailed(const GoogleServiceAuthError& error) OVERRIDE; 131 virtual void GoogleSigninFailed(const GoogleServiceAuthError& error) OVERRIDE;
132 virtual void GoogleSigninSucceeded(const std::string& username, 132 virtual void GoogleSigninSucceeded(const std::string& account_id,
133 const std::string& username,
133 const std::string& password) OVERRIDE; 134 const std::string& password) OVERRIDE;
134 virtual void GoogleSignedOut(const std::string& username) OVERRIDE; 135 virtual void GoogleSignedOut(const std::string& account_id,
136 const std::string& username) OVERRIDE;
135 137
136 // Overridden from ProfileInfoCacheObserver: 138 // Overridden from ProfileInfoCacheObserver:
137 virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; 139 virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE;
138 virtual void OnProfileWasRemoved(const base::FilePath& profile_path, 140 virtual void OnProfileWasRemoved(const base::FilePath& profile_path,
139 const base::string16& profile_name) OVERRIDE; 141 const base::string16& profile_name) OVERRIDE;
140 virtual void OnProfileNameChanged( 142 virtual void OnProfileNameChanged(
141 const base::FilePath& profile_path, 143 const base::FilePath& profile_path,
142 const base::string16& old_profile_name) OVERRIDE; 144 const base::string16& old_profile_name) OVERRIDE;
143 145
144 // Unowned pointer to the controller. 146 // Unowned pointer to the controller.
(...skipping 23 matching lines...) Expand all
168 // this instance can be removed as an observer on its destruction. 170 // this instance can be removed as an observer on its destruction.
169 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_; 171 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_;
170 172
171 // Window contents of additional custom launcher pages. 173 // Window contents of additional custom launcher pages.
172 ScopedVector<apps::CustomLauncherPageContents> custom_page_contents_; 174 ScopedVector<apps::CustomLauncherPageContents> custom_page_contents_;
173 175
174 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); 176 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate);
175 }; 177 };
176 178
177 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 179 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/drive_backend/sync_engine.cc ('k') | chrome/browser/ui/app_list/app_list_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698