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

Side by Side Diff: chrome/browser/printing/cloud_print/privet_http_asynchronous_factory.h

Issue 1553333002: Move cloud print specific files out of local_discovery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveprn
Patch Set: Created 4 years, 11 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_ASYNCHRONOUS_FACTORY_H_ 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_HTTP_ASYNCHRONOUS_FACTORY_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_ASYNCHRONOUS_FACTORY_H_ 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_HTTP_ASYNCHRONOUS_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 12
13 namespace net { 13 namespace net {
14 class HostPortPair; 14 class HostPortPair;
15 class URLRequestContextGetter; 15 class URLRequestContextGetter;
16 } 16 }
17 17
18 namespace local_discovery { 18 namespace cloud_print {
19 19
20 class PrivetHTTPClient; 20 class PrivetHTTPClient;
21 21
22 class PrivetHTTPResolution { 22 class PrivetHTTPResolution {
23 public: 23 public:
24 using ResultCallback = base::Callback<void(scoped_ptr<PrivetHTTPClient>)>; 24 using ResultCallback = base::Callback<void(scoped_ptr<PrivetHTTPClient>)>;
25 25
26 virtual ~PrivetHTTPResolution() {} 26 virtual ~PrivetHTTPResolution() {}
27 27
28 virtual void Start(const ResultCallback& callback) = 0; 28 virtual void Start(const ResultCallback& callback) = 0;
(...skipping 10 matching lines...) Expand all
39 39
40 virtual ~PrivetHTTPAsynchronousFactory() {} 40 virtual ~PrivetHTTPAsynchronousFactory() {}
41 41
42 static scoped_ptr<PrivetHTTPAsynchronousFactory> CreateInstance( 42 static scoped_ptr<PrivetHTTPAsynchronousFactory> CreateInstance(
43 net::URLRequestContextGetter* request_context); 43 net::URLRequestContextGetter* request_context);
44 44
45 virtual scoped_ptr<PrivetHTTPResolution> CreatePrivetHTTP( 45 virtual scoped_ptr<PrivetHTTPResolution> CreatePrivetHTTP(
46 const std::string& service_name) = 0; 46 const std::string& service_name) = 0;
47 }; 47 };
48 48
49 } // namespace local_discovery 49 } // namespace cloud_print
50 50
51 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_ASYNCHRONOUS_FACTORY_H_ 51 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_PRIVET_HTTP_ASYNCHRONOUS_FACTORY_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698