| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/thread.h" | 11 #include "base/thread.h" |
| 12 #include "chrome/service/cloud_print/printer_info.h" | 12 #include "chrome/service/cloud_print/print_system.h" |
| 13 #include "chrome/common/net/url_fetcher.h" | 13 #include "chrome/common/net/url_fetcher.h" |
| 14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 15 | 15 |
| 16 class CloudPrintProxyService; | 16 class CloudPrintProxyService; |
| 17 class DictionaryValue; | 17 class DictionaryValue; |
| 18 | 18 |
| 19 // CloudPrintProxyFrontend is the interface used by CloudPrintProxyBackend to | 19 // CloudPrintProxyFrontend is the interface used by CloudPrintProxyBackend to |
| 20 // communicate with the entity that created it and, presumably, is interested in | 20 // communicate with the entity that created it and, presumably, is interested in |
| 21 // cloud print proxy related activity. | 21 // cloud print proxy related activity. |
| 22 // NOTE: All methods will be invoked by a CloudPrintProxyBackend on the same | 22 // NOTE: All methods will be invoked by a CloudPrintProxyBackend on the same |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 // The frontend which is responsible for displaying UI and updating Prefs | 72 // The frontend which is responsible for displaying UI and updating Prefs |
| 73 CloudPrintProxyFrontend* frontend_; | 73 CloudPrintProxyFrontend* frontend_; |
| 74 | 74 |
| 75 friend class base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>; | 75 friend class base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>; |
| 76 | 76 |
| 77 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyBackend); | 77 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyBackend); |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ | 80 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ |
| 81 | 81 |
| OLD | NEW |