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

Side by Side Diff: chrome/browser/services/gcm/gcm_profile_service.cc

Issue 290013011: Move all remaining files to gcm_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/services/gcm/gcm_profile_service.h" 5 #include "chrome/browser/services/gcm/gcm_profile_service.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/services/gcm/gcm_driver.h"
13 #include "chrome/browser/services/gcm/gcm_utils.h" 12 #include "chrome/browser/services/gcm/gcm_utils.h"
14 #include "chrome/browser/signin/profile_identity_provider.h" 13 #include "chrome/browser/signin/profile_identity_provider.h"
15 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h" 14 #include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
16 #include "chrome/browser/signin/signin_manager_factory.h" 15 #include "chrome/browser/signin/signin_manager_factory.h"
17 #include "chrome/common/chrome_constants.h" 16 #include "chrome/common/chrome_constants.h"
18 #include "chrome/common/chrome_version_info.h" 17 #include "chrome/common/chrome_version_info.h"
19 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
20 #include "components/gcm_driver/gcm_client_factory.h" 19 #include "components/gcm_driver/gcm_client_factory.h"
20 #include "components/gcm_driver/gcm_driver.h"
21 #include "components/pref_registry/pref_registry_syncable.h" 21 #include "components/pref_registry/pref_registry_syncable.h"
22 #include "components/signin/core/browser/signin_manager.h" 22 #include "components/signin/core/browser/signin_manager.h"
23 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
24 #include "google_apis/gaia/identity_provider.h" 24 #include "google_apis/gaia/identity_provider.h"
25 #include "net/url_request/url_request_context_getter.h" 25 #include "net/url_request/url_request_context_getter.h"
26 26
27 #if !defined(OS_ANDROID) 27 #if !defined(OS_ANDROID)
28 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" 28 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
29 #endif 29 #endif
30 30
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 driver_->Shutdown(); 141 driver_->Shutdown();
142 driver_.reset(); 142 driver_.reset();
143 } 143 }
144 } 144 }
145 145
146 void GCMProfileService::SetDriverForTesting(GCMDriver* driver) { 146 void GCMProfileService::SetDriverForTesting(GCMDriver* driver) {
147 driver_.reset(driver); 147 driver_.reset(driver);
148 } 148 }
149 149
150 } // namespace gcm 150 } // namespace gcm
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698