| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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_CLOUD_PRINT_PROXY_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_ |
| 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_ | 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/callback_forward.h" |
| 12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 13 #include "base/observer_list.h" | 14 #include "base/observer_list.h" |
| 14 #include "base/task.h" | |
| 15 #include "chrome/browser/prefs/pref_change_registrar.h" | 15 #include "chrome/browser/prefs/pref_change_registrar.h" |
| 16 #include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h" | 16 #include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h" |
| 17 #include "chrome/browser/profiles/profile_keyed_service.h" | 17 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 18 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
| 19 | 19 |
| 20 class Profile; | 20 class Profile; |
| 21 class ServiceProcessControl; | 21 class ServiceProcessControl; |
| 22 | 22 |
| 23 namespace cloud_print { | 23 namespace cloud_print { |
| 24 struct CloudPrintProxyInfo; | 24 struct CloudPrintProxyInfo; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 | 98 |
| 99 base::WeakPtrFactory<CloudPrintProxyService> weak_factory_; | 99 base::WeakPtrFactory<CloudPrintProxyService> weak_factory_; |
| 100 | 100 |
| 101 // For watching for connector enablement policy changes. | 101 // For watching for connector enablement policy changes. |
| 102 PrefChangeRegistrar pref_change_registrar_; | 102 PrefChangeRegistrar pref_change_registrar_; |
| 103 | 103 |
| 104 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyService); | 104 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyService); |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_ | 107 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_ |
| OLD | NEW |