OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |