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

Side by Side Diff: chrome/browser/printing/cloud_print/virtual_driver_install_helper.h

Issue 7485011: Virtual Cloud Print Driver for Mac. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed copyright Created 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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_PRINTING_CLOUD_PRINT_VIRTUAL_DRIVER_INSTALL_HELPER_H_
6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_VIRTUAL_DRIVER_INSTALL_HELPER_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h"
11 #include "base/observer_list.h"
12
13 namespace cloud_print {
14
15 // Helper class to register the Cloud Print Driver with the service process.
16 class VirtualDriverInstallHelper
17 : public base::RefCountedThreadSafe<VirtualDriverInstallHelper> {
18 public:
19 // Uses ServiceProcessControl to asynchronously get an instance
20 // of the Service Process, launching it if necessary, and register
21 // either InstallVirtualDriverTask or UninstallVirtualDriverTask as the
22 // Task to be called once we have an instance of the ServiceProcess.
23 static void SetUpInstall();
24 static void SetUpUninstall();
25
26 private:
27 void InstallVirtualDriverTask();
28 void UninstallVirtualDriverTask();
29 };
30
31 } // namespace cloud_print
32
33 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_VIRTUAL_DRIVER_INSTALL_HELPER_H_
34
OLDNEW
« no previous file with comments | « chrome/browser/app_controller_mac.mm ('k') | chrome/browser/printing/cloud_print/virtual_driver_install_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698