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

Side by Side Diff: chrome/browser/printing/cloud_print/privet_http.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/local_discovery/privet_http.h" 5 #include "chrome/browser/printing/cloud_print/privet_http.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "chrome/browser/local_discovery/privet_http_impl.h" 9 #include "chrome/browser/printing/cloud_print/privet_http_impl.h"
10 10
11 namespace local_discovery { 11 namespace cloud_print {
12 12
13 // static 13 // static
14 scoped_ptr<PrivetV1HTTPClient> PrivetV1HTTPClient::CreateDefault( 14 scoped_ptr<PrivetV1HTTPClient> PrivetV1HTTPClient::CreateDefault(
15 scoped_ptr<PrivetHTTPClient> info_client) { 15 scoped_ptr<PrivetHTTPClient> info_client) {
16 if (!info_client) 16 if (!info_client)
17 return scoped_ptr<PrivetV1HTTPClient>(); 17 return scoped_ptr<PrivetV1HTTPClient>();
18 return make_scoped_ptr<PrivetV1HTTPClient>( 18 return make_scoped_ptr<PrivetV1HTTPClient>(
19 new PrivetV1HTTPClientImpl(std::move(info_client))); 19 new PrivetV1HTTPClientImpl(std::move(info_client)));
20 } 20 }
21 21
22 } // namespace local_discovery 22 } // namespace cloud_print
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698