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

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

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_COOKIE_CHANGED_SUBSCRIPTION_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_COOKIE_CHANGED_SUBSCRIPTION_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_COOKIE_CHANGED_SUBSCRIPTION_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_COOKIE_CHANGED_SUBSCRIPTION_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
9 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
10 #include "components/signin/core/browser/signin_client.h" 11 #include "components/signin/core/browser/signin_client.h"
11 #include "net/url_request/url_request_context_getter.h" 12 #include "net/url_request/url_request_context_getter.h"
12 13
13 // The subscription for a cookie changed events. This class lives on the 14 // The subscription for a cookie changed events. This class lives on the
14 // main thread. 15 // main thread.
15 class SigninCookieChangedSubscription 16 class SigninCookieChangedSubscription
16 : public SigninClient::CookieChangedSubscription, 17 : public SigninClient::CookieChangedSubscription,
17 public base::SupportsWeakPtr<SigninCookieChangedSubscription> { 18 public base::SupportsWeakPtr<SigninCookieChangedSubscription> {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 69
69 // Callback to be run on cookie changed events. 70 // Callback to be run on cookie changed events.
70 net::CookieStore::CookieChangedCallback callback_; 71 net::CookieStore::CookieChangedCallback callback_;
71 72
72 base::ThreadChecker thread_checker_; 73 base::ThreadChecker thread_checker_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(SigninCookieChangedSubscription); 75 DISALLOW_COPY_AND_ASSIGN(SigninCookieChangedSubscription);
75 }; 76 };
76 77
77 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_COOKIE_CHANGED_SUBSCRIPTION_H_ 78 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_COOKIE_CHANGED_SUBSCRIPTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698