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

Side by Side Diff: components/sync_driver/profile_sync_auth_provider.h

Issue 1265213003: Componentize profile_sync_auth_provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated dependencies Created 5 years, 4 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
« no previous file with comments | « components/sync_driver/DEPS ('k') | components/sync_driver/profile_sync_auth_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_SYNC_PROFILE_SYNC_AUTH_PROVIDER_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_PROFILE_SYNC_AUTH_PROVIDER_H_
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_AUTH_PROVIDER_H_ 6 #define COMPONENTS_SYNC_DRIVER_PROFILE_SYNC_AUTH_PROVIDER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "google_apis/gaia/oauth2_token_service.h" 10 #include "google_apis/gaia/oauth2_token_service.h"
11 #include "sync/internal_api/public/sync_auth_provider.h" 11 #include "sync/internal_api/public/sync_auth_provider.h"
12 12
13 class ProfileOAuth2TokenService; 13 class ProfileOAuth2TokenService;
14 14
15 namespace base { 15 namespace base {
16 class SingleThreadTaskRunner; 16 class SingleThreadTaskRunner;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 // cancelled if new one arrives. 59 // cancelled if new one arrives.
60 scoped_ptr<OAuth2TokenService::Request> access_token_request_; 60 scoped_ptr<OAuth2TokenService::Request> access_token_request_;
61 syncer::SyncAuthProvider::RequestTokenCallback request_token_callback_; 61 syncer::SyncAuthProvider::RequestTokenCallback request_token_callback_;
62 scoped_refptr<base::SingleThreadTaskRunner> callback_task_runner_; 62 scoped_refptr<base::SingleThreadTaskRunner> callback_task_runner_;
63 63
64 base::WeakPtrFactory<ProfileSyncAuthProvider> weak_factory_; 64 base::WeakPtrFactory<ProfileSyncAuthProvider> weak_factory_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(ProfileSyncAuthProvider); 66 DISALLOW_COPY_AND_ASSIGN(ProfileSyncAuthProvider);
67 }; 67 };
68 68
69 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_AUTH_PROVIDER_H_ 69 #endif // COMPONENTS_SYNC_DRIVER_PROFILE_SYNC_AUTH_PROVIDER_H_
OLDNEW
« no previous file with comments | « components/sync_driver/DEPS ('k') | components/sync_driver/profile_sync_auth_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698