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

Side by Side Diff: components/signin/core/browser/signin_cookie_changed_subscription.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 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
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 "components/signin/core/browser/signin_cookie_changed_subscription.h" 5 #include "components/signin/core/browser/signin_cookie_changed_subscription.h"
6 6
7 #include "base/single_thread_task_runner.h"
7 #include "base/threading/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
8 #include "net/cookies/cookie_store.h" 9 #include "net/cookies/cookie_store.h"
9 #include "net/url_request/url_request_context.h" 10 #include "net/url_request/url_request_context.h"
10 #include "net/url_request/url_request_context_getter.h" 11 #include "net/url_request/url_request_context_getter.h"
11 12
12 SigninCookieChangedSubscription::SubscriptionHolder::SubscriptionHolder() { 13 SigninCookieChangedSubscription::SubscriptionHolder::SubscriptionHolder() {
13 } 14 }
14 15
15 SigninCookieChangedSubscription::SubscriptionHolder::~SubscriptionHolder() { 16 SigninCookieChangedSubscription::SubscriptionHolder::~SubscriptionHolder() {
16 } 17 }
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 } 95 }
95 96
96 void SigninCookieChangedSubscription::OnCookieChanged( 97 void SigninCookieChangedSubscription::OnCookieChanged(
97 const net::CanonicalCookie& cookie, 98 const net::CanonicalCookie& cookie,
98 net::CookieStore::ChangeCause cause) { 99 net::CookieStore::ChangeCause cause) {
99 DCHECK(thread_checker_.CalledOnValidThread()); 100 DCHECK(thread_checker_.CalledOnValidThread());
100 if (!callback_.is_null()) { 101 if (!callback_.is_null()) {
101 callback_.Run(cookie, cause); 102 callback_.Run(cookie, cause);
102 } 103 }
103 } 104 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698