| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_ | |
| 6 #define COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_ | |
| 7 | |
| 8 #include "base/memory/ref_counted.h" | |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "base/sequenced_task_runner.h" | |
| 11 #include "components/version_info/version_info.h" | |
| 12 | |
| 13 class PrefService; | |
| 14 namespace base { | |
| 15 class FilePath; | |
| 16 } | |
| 17 | |
| 18 namespace net { | |
| 19 class URLRequestContextGetter; | |
| 20 } | |
| 21 | |
| 22 namespace gcm { | |
| 23 | |
| 24 class GCMDriver; | |
| 25 class GCMClientFactory; | |
| 26 | |
| 27 scoped_ptr<GCMDriver> CreateGCMDriverDesktop( | |
| 28 scoped_ptr<GCMClientFactory> gcm_client_factory, | |
| 29 PrefService* prefs, | |
| 30 const base::FilePath& store_path, | |
| 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); | |
| 36 | |
| 37 } // namespace gcm | |
| 38 | |
| 39 #endif // COMPONENTS_GCM_DRIVER_GCM_GCM_DESKTOP_UTILS_H_ | |
| OLD | NEW |