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

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

Issue 235813002: Add profile-switches to signin-internals; move switches to component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 8 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 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 "chrome/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
(...skipping 169 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
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/signin/signin_header_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698