| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/thread.h" | 11 #include "base/threading/thread.h" |
| 12 #include "printing/backend/print_backend.h" | 12 #include "printing/backend/print_backend.h" |
| 13 | 13 |
| 14 class CloudPrintProxyService; | 14 class CloudPrintProxyService; |
| 15 class GURL; | 15 class GURL; |
| 16 class DictionaryValue; | 16 class DictionaryValue; |
| 17 | 17 |
| 18 // CloudPrintProxyFrontend is the interface used by CloudPrintProxyBackend to | 18 // CloudPrintProxyFrontend is the interface used by CloudPrintProxyBackend to |
| 19 // communicate with the entity that created it and, presumably, is interested in | 19 // communicate with the entity that created it and, presumably, is interested in |
| 20 // cloud print proxy related activity. | 20 // cloud print proxy related activity. |
| 21 // NOTE: All methods will be invoked by a CloudPrintProxyBackend on the same | 21 // NOTE: All methods will be invoked by a CloudPrintProxyBackend on the same |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 MessageLoop* const frontend_loop_; | 74 MessageLoop* const frontend_loop_; |
| 75 // The frontend which is responsible for displaying UI and updating Prefs | 75 // The frontend which is responsible for displaying UI and updating Prefs |
| 76 CloudPrintProxyFrontend* frontend_; | 76 CloudPrintProxyFrontend* frontend_; |
| 77 | 77 |
| 78 friend class base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>; | 78 friend class base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>; |
| 79 | 79 |
| 80 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyBackend); | 80 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyBackend); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ | 83 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ |
| OLD | NEW |