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

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

Issue 561943002: Reland: Add GCMChannelStatusSyncer to schedule requests and enable/disable GCM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CrOS test failures Created 6 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 | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/services/gcm/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 CHROME_BROWSER_SERVICES_GCM_GCM_DESKTOP_UTILS_H_
6 #define CHROME_BROWSER_SERVICES_GCM_GCM_DESKTOP_UTILS_H_ 6 #define CHROME_BROWSER_SERVICES_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 10
11 class PrefService;
11 namespace base { 12 namespace base {
12 class FilePath; 13 class FilePath;
13 } 14 }
14 15
15 namespace net { 16 namespace net {
16 class URLRequestContextGetter; 17 class URLRequestContextGetter;
17 } 18 }
18 19
19 namespace gcm { 20 namespace gcm {
20 21
21 class GCMDriver; 22 class GCMDriver;
22 class GCMClientFactory; 23 class GCMClientFactory;
23 24
24 scoped_ptr<GCMDriver> CreateGCMDriverDesktop( 25 scoped_ptr<GCMDriver> CreateGCMDriverDesktop(
25 scoped_ptr<GCMClientFactory> gcm_client_factory, 26 scoped_ptr<GCMClientFactory> gcm_client_factory,
27 PrefService* prefs,
26 const base::FilePath& store_path, 28 const base::FilePath& store_path,
27 const scoped_refptr<net::URLRequestContextGetter>& request_context); 29 const scoped_refptr<net::URLRequestContextGetter>& request_context);
28 30
29 } // namespace gcm 31 } // namespace gcm
30 32
31 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_DESKTOP_UTILS_H_ 33 #endif // CHROME_BROWSER_SERVICES_GCM_GCM_DESKTOP_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/services/gcm/gcm_desktop_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698