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

Side by Side Diff: components/gcm_driver/gcm_profile_service.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 (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 "components/gcm_driver/gcm_profile_service.h" 5 #include "components/gcm_driver/gcm_profile_service.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h"
10 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
12 #include "build/build_config.h"
11 #include "components/gcm_driver/gcm_driver.h" 13 #include "components/gcm_driver/gcm_driver.h"
12 #include "components/gcm_driver/gcm_driver_constants.h" 14 #include "components/gcm_driver/gcm_driver_constants.h"
13 #include "components/pref_registry/pref_registry_syncable.h" 15 #include "components/pref_registry/pref_registry_syncable.h"
14 16
15 #if defined(OS_ANDROID) 17 #if defined(OS_ANDROID)
16 #include "base/sequenced_task_runner.h" 18 #include "base/sequenced_task_runner.h"
17 #include "base/threading/sequenced_worker_pool.h" 19 #include "base/threading/sequenced_worker_pool.h"
18 #include "components/gcm_driver/gcm_driver_android.h" 20 #include "components/gcm_driver/gcm_driver_android.h"
19 #else 21 #else
20 #include "base/bind.h" 22 #include "base/bind.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 driver_.reset(driver); 175 driver_.reset(driver);
174 #if !defined(OS_ANDROID) 176 #if !defined(OS_ANDROID)
175 if (identity_observer_) { 177 if (identity_observer_) {
176 identity_observer_.reset(new IdentityObserver( 178 identity_observer_.reset(new IdentityObserver(
177 profile_identity_provider_.get(), request_context_, driver)); 179 profile_identity_provider_.get(), request_context_, driver));
178 } 180 }
179 #endif // !defined(OS_ANDROID) 181 #endif // !defined(OS_ANDROID)
180 } 182 }
181 183
182 } // namespace gcm 184 } // namespace gcm
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_profile_service.h ('k') | components/gcm_driver/gcm_stats_recorder_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698