| 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/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "base/task.h" |
| 14 #include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h" | 15 #include "chrome/browser/printing/cloud_print/cloud_print_setup_handler.h" |
| 15 #include "chrome/browser/profiles/profile_keyed_service.h" | 16 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 16 | 17 |
| 17 class Profile; | 18 class Profile; |
| 18 | 19 |
| 19 namespace cloud_print { | 20 namespace cloud_print { |
| 20 struct CloudPrintProxyInfo; | 21 struct CloudPrintProxyInfo; |
| 21 } // namespace cloud_print | 22 } // namespace cloud_print |
| 22 | 23 |
| 23 // Layer between the browser user interface and the cloud print proxy code | 24 // Layer between the browser user interface and the cloud print proxy code |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 void OnTokenExpiredNotificationClosed(bool by_user); | 82 void OnTokenExpiredNotificationClosed(bool by_user); |
| 82 void OnTokenExpiredNotificationClick(); | 83 void OnTokenExpiredNotificationClick(); |
| 83 void TokenExpiredNotificationDone(bool keep_alive); | 84 void TokenExpiredNotificationDone(bool keep_alive); |
| 84 | 85 |
| 85 ScopedRunnableMethodFactory<CloudPrintProxyService> service_task_factory_; | 86 ScopedRunnableMethodFactory<CloudPrintProxyService> service_task_factory_; |
| 86 | 87 |
| 87 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyService); | 88 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyService); |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_ | 91 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_PROXY_SERVICE_H_ |
| OLD | NEW |