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

Side by Side Diff: components/gcm_driver/gcm_desktop_utils.h

Issue 1325063002: Componentizing chrome/browser/services/gcm/gcm_desktop_utils.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 3 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/gcm_driver/DEPS ('k') | components/gcm_driver/gcm_desktop_utils.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_SERVICES_GCM_GCM_DESKTOP_UTILS_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_
6 #define CHROME_BROWSER_SERVICES_GCM_GCM_DESKTOP_UTILS_H_ 6 #define COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/sequenced_task_runner.h"
11 #include "components/version_info/version_info.h"
10 12
11 class PrefService; 13 class PrefService;
12 namespace base { 14 namespace base {
13 class FilePath; 15 class FilePath;
14 } 16 }
15 17
16 namespace net { 18 namespace net {
17 class URLRequestContextGetter; 19 class URLRequestContextGetter;
18 } 20 }
19 21
20 namespace gcm { 22 namespace gcm {
21 23
22 class GCMDriver; 24 class GCMDriver;
23 class GCMClientFactory; 25 class GCMClientFactory;
24 26
25 scoped_ptr<GCMDriver> CreateGCMDriverDesktop( 27 scoped_ptr<GCMDriver> CreateGCMDriverDesktop(
26 scoped_ptr<GCMClientFactory> gcm_client_factory, 28 scoped_ptr<GCMClientFactory> gcm_client_factory,
27 PrefService* prefs, 29 PrefService* prefs,
28 const base::FilePath& store_path, 30 const base::FilePath& store_path,
29 const scoped_refptr<net::URLRequestContextGetter>& request_context); 31 const scoped_refptr<net::URLRequestContextGetter>& request_context,
32 version_info::Channel channel,
33 const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner,
34 const scoped_refptr<base::SequencedTaskRunner>& io_task_runner,
35 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner);
30 36
31 } // namespace gcm 37 } // namespace gcm
32 38
33 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_DESKTOP_UTILS_H_ 39 #endif // COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_
OLDNEW
« no previous file with comments | « components/gcm_driver/DEPS ('k') | components/gcm_driver/gcm_desktop_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698