OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_PRINTING_CLOUD_PRINT_VIRTUAL_DRIVER_INSTALL_HELPER_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_VIRTUAL_DRIVER_INSTALL_HELPER_H_ |
6 #define 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 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
12 | 11 |
13 namespace cloud_print { | 12 namespace cloud_print { |
14 | 13 |
15 // Helper class to register the Cloud Print Driver with the service process. | 14 // Helper class to register the Cloud Print Driver with the service process. |
16 class VirtualDriverInstallHelper | 15 class VirtualDriverInstallHelper |
17 : public base::RefCountedThreadSafe<VirtualDriverInstallHelper> { | 16 : public base::RefCountedThreadSafe<VirtualDriverInstallHelper> { |
(...skipping 11 matching lines...) Expand all Loading... |
29 ~VirtualDriverInstallHelper() {} | 28 ~VirtualDriverInstallHelper() {} |
30 | 29 |
31 void InstallVirtualDriverTask(); | 30 void InstallVirtualDriverTask(); |
32 void UninstallVirtualDriverTask(); | 31 void UninstallVirtualDriverTask(); |
33 }; | 32 }; |
34 | 33 |
35 } // namespace cloud_print | 34 } // namespace cloud_print |
36 | 35 |
37 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_VIRTUAL_DRIVER_INSTALL_HELPER_H_ | 36 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_VIRTUAL_DRIVER_INSTALL_HELPER_H_ |
38 | 37 |
OLD | NEW |