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 CHROME_BROWSER_SERVICES_GCM_GCM_DESKTOP_UTILS_H_
6#define CHROME_BROWSER_SERVICES_GCM_GCM_DESKTOP_UTILS_H_
7
8#include "base/memory/ref_counted.h"
9#include "base/memory/scoped_ptr.h"
10
11class PrefService;
12namespace base {
13class FilePath;
14}
15
16namespace net {
17class URLRequestContextGetter;
18}
19
20namespace gcm {
21
22class GCMDriver;
23class GCMClientFactory;
24
25scoped_ptr<GCMDriver> CreateGCMDriverDesktop(
26    scoped_ptr<GCMClientFactory> gcm_client_factory,
27    PrefService* prefs,
28    const base::FilePath& store_path,
29    const scoped_refptr<net::URLRequestContextGetter>& request_context);
30
31}  // namespace gcm
32
33#endif  // CHROME_BROWSER_SERVICES_GCM_GCM_DESKTOP_UTILS_H_
34