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_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ | 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ |
6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ | 6 #define CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
14 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
15 #include "chrome/service/cloud_print/connector_settings.h" | 15 #include "chrome/service/cloud_print/connector_settings.h" |
16 #include "printing/backend/print_backend.h" | 16 #include "printing/backend/print_backend.h" |
17 | 17 |
18 namespace base { | |
19 class DictionaryValue; | |
20 } | |
21 | |
22 namespace gaia { | 18 namespace gaia { |
23 struct OAuthClientInfo; | 19 struct OAuthClientInfo; |
24 } | 20 } |
25 | 21 |
26 namespace cloud_print { | 22 namespace cloud_print { |
27 | 23 |
28 // CloudPrintProxyFrontend is the interface used by CloudPrintProxyBackend to | 24 // CloudPrintProxyFrontend is the interface used by CloudPrintProxyBackend to |
29 // communicate with the entity that created it and, presumably, is interested in | 25 // communicate with the entity that created it and, presumably, is interested in |
30 // cloud print proxy related activity. | 26 // cloud print proxy related activity. |
31 // NOTE: All methods will be invoked by a CloudPrintProxyBackend on the same | 27 // NOTE: All methods will be invoked by a CloudPrintProxyBackend on the same |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 CloudPrintProxyFrontend* const frontend_; | 98 CloudPrintProxyFrontend* const frontend_; |
103 | 99 |
104 friend class base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>; | 100 friend class base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>; |
105 | 101 |
106 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyBackend); | 102 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyBackend); |
107 }; | 103 }; |
108 | 104 |
109 } // namespace cloud_print | 105 } // namespace cloud_print |
110 | 106 |
111 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ | 107 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ |
OLD | NEW |