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

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

Issue 310973002: Move GCMClient related files to gcm_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync Created 6 years, 6 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 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 "chrome/browser/services/gcm/gcm_desktop_utils.h" 5 #include "chrome/browser/services/gcm/gcm_desktop_utils.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/sequenced_task_runner.h" 8 #include "base/sequenced_task_runner.h"
9 #include "base/threading/sequenced_worker_pool.h" 9 #include "base/threading/sequenced_worker_pool.h"
10 #include "chrome/common/chrome_version_info.h" 10 #include "chrome/common/chrome_version_info.h"
11 #include "components/gcm_driver/gcm_client.h"
11 #include "components/gcm_driver/gcm_client_factory.h" 12 #include "components/gcm_driver/gcm_client_factory.h"
12 #include "components/gcm_driver/gcm_driver.h" 13 #include "components/gcm_driver/gcm_driver.h"
13 #include "components/gcm_driver/gcm_driver_desktop.h" 14 #include "components/gcm_driver/gcm_driver_desktop.h"
14 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
15 #include "google_apis/gcm/gcm_client.h"
16 16
17 namespace gcm { 17 namespace gcm {
18 18
19 namespace { 19 namespace {
20 20
21 GCMClient::ChromePlatform GetPlatform() { 21 GCMClient::ChromePlatform GetPlatform() {
22 #if defined(OS_WIN) 22 #if defined(OS_WIN)
23 return GCMClient::PLATFORM_WIN; 23 return GCMClient::PLATFORM_WIN;
24 #elif defined(OS_MACOSX) 24 #elif defined(OS_MACOSX)
25 return GCMClient::PLATFORM_MAC; 25 return GCMClient::PLATFORM_MAC;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 store_path, 89 store_path,
90 request_context, 90 request_context,
91 content::BrowserThread::GetMessageLoopProxyForThread( 91 content::BrowserThread::GetMessageLoopProxyForThread(
92 content::BrowserThread::UI), 92 content::BrowserThread::UI),
93 content::BrowserThread::GetMessageLoopProxyForThread( 93 content::BrowserThread::GetMessageLoopProxyForThread(
94 content::BrowserThread::IO), 94 content::BrowserThread::IO),
95 blocking_task_runner)); 95 blocking_task_runner));
96 } 96 }
97 97
98 } // namespace gcm 98 } // namespace gcm
OLDNEW
« no previous file with comments | « chrome/browser/invalidation/gcm_invalidation_bridge.h ('k') | chrome/browser/services/gcm/gcm_profile_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698