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

Unified Diff: chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h

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
Index: chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h
diff --git a/chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h b/chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h
deleted file mode 100644
index ba7c96bccf27bd74ea03cc38a1318abafab9ddfc..0000000000000000000000000000000000000000
--- a/chrome/browser/local_discovery/privet_http_asynchronous_factory_mac.h
+++ /dev/null
@@ -1,48 +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.
-
-#ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_ASYNCHRONOUS_FACTORY_MAC_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_ASYNCHRONOUS_FACTORY_MAC_H_
-
-#include "chrome/browser/local_discovery/privet_http.h"
-#include "chrome/browser/local_discovery/privet_http_asynchronous_factory.h"
-
-namespace local_discovery {
-
-class PrivetHTTPAsynchronousFactoryMac : public PrivetHTTPAsynchronousFactory {
- public:
- explicit PrivetHTTPAsynchronousFactoryMac(
- net::URLRequestContextGetter* request_context);
- ~PrivetHTTPAsynchronousFactoryMac() override;
-
- scoped_ptr<PrivetHTTPResolution> CreatePrivetHTTP(
- const std::string& name,
- const net::HostPortPair& address,
- const ResultCallback& callback) override;
-
- private:
- class ResolutionMac : public PrivetHTTPResolution {
- public:
- ResolutionMac(net::URLRequestContextGetter* request_context,
- const std::string& name,
- const net::HostPortPair& host_port,
- const ResultCallback& callback);
- ~ResolutionMac() override;
-
- void Start() override;
- const std::string& GetName() override;
-
- private:
- net::URLRequestContextGetter* request_context_;
- std::string name_;
- net::HostPortPair host_port_;
- ResultCallback callback_;
- };
-
- net::URLRequestContextGetter* request_context_;
-};
-
-} // namespace local_discovery
-
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVET_HTTP_ASYNCHRONOUS_FACTORY_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698