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

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

Issue 2111973002: Add support for GCM subtypes to desktop Instance ID implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid9push
Patch Set: Remove channel from product_category_for_subtypes, and address nits Created 4 years, 4 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 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 COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_
6 #define COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_ 6 #define COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 13 matching lines...) Expand all
24 24
25 class GCMDriver; 25 class GCMDriver;
26 class GCMClientFactory; 26 class GCMClientFactory;
27 27
28 std::unique_ptr<GCMDriver> CreateGCMDriverDesktop( 28 std::unique_ptr<GCMDriver> CreateGCMDriverDesktop(
29 std::unique_ptr<GCMClientFactory> gcm_client_factory, 29 std::unique_ptr<GCMClientFactory> gcm_client_factory,
30 PrefService* prefs, 30 PrefService* prefs,
31 const base::FilePath& store_path, 31 const base::FilePath& store_path,
32 const scoped_refptr<net::URLRequestContextGetter>& request_context, 32 const scoped_refptr<net::URLRequestContextGetter>& request_context,
33 version_info::Channel channel, 33 version_info::Channel channel,
34 const std::string& product_category_for_subtypes,
34 const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner, 35 const scoped_refptr<base::SequencedTaskRunner>& ui_task_runner,
35 const scoped_refptr<base::SequencedTaskRunner>& io_task_runner, 36 const scoped_refptr<base::SequencedTaskRunner>& io_task_runner,
36 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner); 37 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner);
37 38
38 } // namespace gcm 39 } // namespace gcm
39 40
40 #endif // COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_ 41 #endif // COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_
OLDNEW
« no previous file with comments | « components/gcm_driver/gcm_client_impl_unittest.cc ('k') | components/gcm_driver/gcm_desktop_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698