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

Unified Diff: chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.cc
diff --git a/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc b/chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.cc
similarity index 88%
rename from chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc
rename to chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.cc
index 684b60676b5ad123dadd5ea2e34861eea5a3fdad..c18a11bc49bbafc7917903f6a9ddf4edf95111af 100644
--- a/chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc
+++ b/chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h"
+#include "chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.h"
#include "chrome/browser/local_discovery/endpoint_resolver.h"
-#include "chrome/browser/local_discovery/privet_http_impl.h"
+#include "chrome/browser/printing/cloud_print/privet_http_impl.h"
-namespace local_discovery {
+namespace cloud_print {
PrivetHTTPAsynchronousFactoryImpl::PrivetHTTPAsynchronousFactoryImpl(
net::URLRequestContextGetter* request_context)
@@ -29,7 +29,7 @@ PrivetHTTPAsynchronousFactoryImpl::ResolutionImpl::ResolutionImpl(
net::URLRequestContextGetter* request_context)
: name_(service_name),
request_context_(request_context),
- endpoint_resolver_(new EndpointResolver()) {}
+ endpoint_resolver_(new local_discovery::EndpointResolver()) {}
PrivetHTTPAsynchronousFactoryImpl::ResolutionImpl::~ResolutionImpl() {
}
@@ -65,4 +65,4 @@ void PrivetHTTPAsynchronousFactoryImpl::ResolutionImpl::ResolveComplete(
new PrivetHTTPClientImpl(name_, new_address, request_context_.get())));
}
-} // namespace local_discovery
+} // namespace cloud_print

Powered by Google App Engine
This is Rietveld 408576698