Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: chrome/service/cloud_print/cloud_print_proxy_backend.h

Issue 4165013: Re-landing issue 4202006 (http://codereview.chromium.org/4202006/show) which ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/thread.h"
12 #include "chrome/common/net/url_fetcher.h"
13 #include "googleurl/src/gurl.h"
14 #include "printing/backend/print_backend.h" 12 #include "printing/backend/print_backend.h"
15 13
16 class CloudPrintProxyService; 14 class CloudPrintProxyService;
15 class GURL;
17 class DictionaryValue; 16 class DictionaryValue;
18 17
19 // CloudPrintProxyFrontend is the interface used by CloudPrintProxyBackend to 18 // CloudPrintProxyFrontend is the interface used by CloudPrintProxyBackend to
20 // 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
21 // cloud print proxy related activity. 20 // cloud print proxy related activity.
22 // 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
23 // thread used to create that CloudPrintProxyBackend. 22 // thread used to create that CloudPrintProxyBackend.
24 class CloudPrintProxyFrontend { 23 class CloudPrintProxyFrontend {
25 public: 24 public:
26 CloudPrintProxyFrontend() {} 25 CloudPrintProxyFrontend() {}
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 MessageLoop* const frontend_loop_; 74 MessageLoop* const frontend_loop_;
76 // The frontend which is responsible for displaying UI and updating Prefs 75 // The frontend which is responsible for displaying UI and updating Prefs
77 CloudPrintProxyFrontend* frontend_; 76 CloudPrintProxyFrontend* frontend_;
78 77
79 friend class base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>; 78 friend class base::RefCountedThreadSafe<CloudPrintProxyBackend::Core>;
80 79
81 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyBackend); 80 DISALLOW_COPY_AND_ASSIGN(CloudPrintProxyBackend);
82 }; 81 };
83 82
84 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_ 83 #endif // CHROME_SERVICE_CLOUD_PRINT_CLOUD_PRINT_PROXY_BACKEND_H_
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_helpers.cc ('k') | chrome/service/cloud_print/cloud_print_proxy_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698