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

Side by Side Diff: chrome/browser/local_discovery/privet_http.h

Issue 552703002: Fix compilation on Windows with enable_printing=2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mon Sep 8 10:32:47 PDT 2014 Created 6 years, 3 months 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_LOCAL_DISCOVERY_PRIVET_HTTP_H_ 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "chrome/browser/local_discovery/privet_url_fetcher.h" 11 #include "chrome/browser/local_discovery/privet_url_fetcher.h"
12 #include "chrome/browser/local_discovery/pwg_raster_converter.h"
13 #include "net/base/host_port_pair.h" 12 #include "net/base/host_port_pair.h"
14 13
15 namespace base { 14 namespace base {
16 class RefCountedBytes; 15 class RefCountedBytes;
17 } 16 }
18 17
19 namespace gfx { 18 namespace gfx {
20 class Size; 19 class Size;
21 } 20 }
22 21
23 namespace printing { 22 namespace printing {
24 class PdfRenderSettings; 23 class PdfRenderSettings;
25 } 24 }
26 25
27 namespace local_discovery { 26 namespace local_discovery {
28 27
28 class PWGRasterConverter;
29 class PrivetHTTPClient; 29 class PrivetHTTPClient;
30 30
31 // Represents a simple request that returns pure JSON. 31 // Represents a simple request that returns pure JSON.
32 class PrivetJSONOperation { 32 class PrivetJSONOperation {
33 public: 33 public:
34 // If value is null, the operation failed. 34 // If value is null, the operation failed.
35 typedef base::Callback<void( 35 typedef base::Callback<void(
36 const base::DictionaryValue* /*value*/)> ResultCallback; 36 const base::DictionaryValue* /*value*/)> ResultCallback;
37 37
38 virtual ~PrivetJSONOperation() {} 38 virtual ~PrivetJSONOperation() {}
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 const PrivetJSONOperation::ResultCallback& callback) = 0; 206 const PrivetJSONOperation::ResultCallback& callback) = 0;
207 207
208 // Creates operation to submit print job to local printer. 208 // Creates operation to submit print job to local printer.
209 virtual scoped_ptr<PrivetLocalPrintOperation> CreateLocalPrintOperation( 209 virtual scoped_ptr<PrivetLocalPrintOperation> CreateLocalPrintOperation(
210 PrivetLocalPrintOperation::Delegate* delegate) = 0; 210 PrivetLocalPrintOperation::Delegate* delegate) = 0;
211 211
212 }; 212 };
213 213
214 } // namespace local_discovery 214 } // namespace local_discovery
215 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_ 215 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698