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

Unified Diff: chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.cc
diff --git a/chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.cc b/chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.cc
deleted file mode 100644
index c3014cbda98c68c41e0d7af0642446870496eedb..0000000000000000000000000000000000000000
--- a/chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.cc
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// 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_mac.h"
-
-#include "chrome/browser/local_discovery/privet_http_impl.h"
-
-namespace local_discovery {
-
-PrivetHTTPAsynchronousFactoryMac::PrivetHTTPAsynchronousFactoryMac(
- net::URLRequestContextGetter* request_context)
- : request_context_(request_context) {
-}
-
-PrivetHTTPAsynchronousFactoryMac::~PrivetHTTPAsynchronousFactoryMac() {
-}
-
-scoped_ptr<PrivetHTTPResolution>
-PrivetHTTPAsynchronousFactoryMac::CreatePrivetHTTP(
- const std::string& name,
- const net::HostPortPair& address,
- const ResultCallback& callback) {
- return scoped_ptr<PrivetHTTPResolution>(
- new ResolutionMac(request_context_, name, address, callback));
-}
-
-PrivetHTTPAsynchronousFactoryMac::ResolutionMac::ResolutionMac(
- net::URLRequestContextGetter* request_context,
- const std::string& name,
- const net::HostPortPair& host_port,
- const ResultCallback& callback)
- : request_context_(request_context),
- name_(name),
- host_port_(host_port),
- callback_(callback) {
-}
-
-PrivetHTTPAsynchronousFactoryMac::ResolutionMac::~ResolutionMac() {
-}
-
-void PrivetHTTPAsynchronousFactoryMac::ResolutionMac::Start() {
- callback_.Run(scoped_ptr<PrivetHTTPClient>(
- new PrivetHTTPClientImpl(name_, host_port_, request_context_)));
-}
-
-const std::string& PrivetHTTPAsynchronousFactoryMac::ResolutionMac::GetName() {
- return name_;
-}
-
-} // namespace local_discovery
« no previous file with comments | « chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698