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

Side by Side Diff: chrome/browser/local_discovery/privet_http_asynchronous_factory.cc

Issue 954883003: Remove privet_http_asynchronous_factory_mac.* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wed Feb 25 09:06:16 PST 2015 Created 5 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/local_discovery/privet_http_asynchronous_factory.h" 5 #include "chrome/browser/local_discovery/privet_http_asynchronous_factory.h"
6 6
7 #if defined(OS_MACOSX)
8 #include "chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h"
9 #else
10 #include "chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h " 7 #include "chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.h "
11 #endif
12 8
13 namespace local_discovery { 9 namespace local_discovery {
14 10
15 // static 11 // static
16 scoped_ptr<PrivetHTTPAsynchronousFactory> 12 scoped_ptr<PrivetHTTPAsynchronousFactory>
17 PrivetHTTPAsynchronousFactory::CreateInstance( 13 PrivetHTTPAsynchronousFactory::CreateInstance(
18 net::URLRequestContextGetter* request_context) { 14 net::URLRequestContextGetter* request_context) {
19 #if defined(OS_MACOSX)
20 return make_scoped_ptr<PrivetHTTPAsynchronousFactory>(
21 new PrivetHTTPAsynchronousFactoryMac(request_context));
22
23 #else
24 return make_scoped_ptr<PrivetHTTPAsynchronousFactory>( 15 return make_scoped_ptr<PrivetHTTPAsynchronousFactory>(
25 new PrivetHTTPAsynchronousFactoryImpl(request_context)); 16 new PrivetHTTPAsynchronousFactoryImpl(request_context));
26 #endif
27 } 17 }
28 18
29 } // namespace local_discovery 19 } // namespace local_discovery
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/local_discovery/privet_http_asynchronous_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698