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

Side by Side Diff: chrome/browser/signin/chrome_signin_client.cc

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/signin/chrome_signin_client.h" 5 #include "chrome/browser/signin/chrome_signin_client.h"
6 6
7 #include "chrome/browser/chrome_notification_types.h" 7 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/content_settings/cookie_settings.h" 8 #include "chrome/browser/content_settings/cookie_settings.h"
9 #include "chrome/browser/net/chrome_cookie_notification_details.h" 9 #include "chrome/browser/net/chrome_cookie_notification_details.h"
10 #include "chrome/browser/signin/local_auth.h" 10 #include "chrome/browser/signin/local_auth.h"
11 #include "chrome/browser/webdata/web_data_service_factory.h" 11 #include "chrome/browser/webdata/web_data_service_factory.h"
12 #include "chrome/common/chrome_version_info.h" 12 #include "chrome/common/chrome_version_info.h"
13 #include "components/signin/core/common/profile_management_switches.h" 13 #include "components/signin/core/common/profile_management_switches.h"
14 #include "content/public/browser/notification_details.h" 14 #include "content/public/browser/notification_details.h"
15 #include "content/public/browser/notification_source.h" 15 #include "content/public/browser/notification_source.h"
16 #include "content/public/browser/render_process_host.h" 16 #include "content/public/browser/render_process_host.h"
17 #include "content/public/common/child_process_host.h" 17 #include "content/public/common/child_process_host.h"
18 #include "url/gurl.h" 18 #include "url/gurl.h"
19 19
20 #if defined(ENABLE_MANAGED_USERS) 20 #if defined(ENABLE_MANAGED_USERS)
21 #include "chrome/browser/managed_mode/managed_user_constants.h" 21 #include "chrome/browser/managed_mode/managed_user_constants.h"
22 #endif 22 #endif
23 23
24 #if defined(OS_CHROMEOS) 24 #if defined(OS_CHROMEOS)
25 #include "chrome/browser/chromeos/login/user_manager.h" 25 #include "chrome/browser/chromeos/login/users/user_manager.h"
26 #endif 26 #endif
27 27
28 using content::ChildProcessHost; 28 using content::ChildProcessHost;
29 using content::RenderProcessHost; 29 using content::RenderProcessHost;
30 30
31 namespace { 31 namespace {
32 32
33 const char kGoogleAccountsUrl[] = "https://accounts.google.com"; 33 const char kGoogleAccountsUrl[] = "https://accounts.google.com";
34 34
35 } // namespace 35 } // namespace
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 void ChromeSigninClient::UnregisterForCookieChangedNotification() { 194 void ChromeSigninClient::UnregisterForCookieChangedNotification() {
195 // Note that it's allowed to call this method multiple times without an 195 // Note that it's allowed to call this method multiple times without an
196 // intervening call to |RegisterForCookieChangedNotification()|. 196 // intervening call to |RegisterForCookieChangedNotification()|.
197 content::Source<Profile> source(profile_); 197 content::Source<Profile> source(profile_);
198 if (!registrar_.IsRegistered( 198 if (!registrar_.IsRegistered(
199 this, chrome::NOTIFICATION_COOKIE_CHANGED, source)) 199 this, chrome::NOTIFICATION_COOKIE_CHANGED, source))
200 return; 200 return;
201 registrar_.Remove(this, chrome::NOTIFICATION_COOKIE_CHANGED, source); 201 registrar_.Remove(this, chrome::NOTIFICATION_COOKIE_CHANGED, source);
202 } 202 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698