Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / chrome / common / gcm_desktop_util.h
bloba5550acc5e534479dec5dfc794453467c06f5e96
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.
5 #ifndef CHROME_COMMON_GCM_DESKTOP_UTIL_H_
6 #define CHROME_COMMON_GCM_DESKTOP_UTIL_H_
8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h"
11 class PrefService;
13 namespace base {
14 class FilePath;
15 class SequencedTaskRunner;
18 namespace net {
19 class URLRequestContextGetter;
22 namespace gcm {
24 class GCMDriver;
25 class GCMClientFactory;
27 scoped_ptr<GCMDriver> CreateGCMDriverDesktopWithTaskRunners(
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 const scoped_refptr<base::SequencedTaskRunner>& ui_thread,
33 const scoped_refptr<base::SequencedTaskRunner>& io_thread,
34 const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner);
36 } // namespace gcm
38 #endif // CHROME_COMMON_GCM_DESKTOP_UTIL_H_