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

Unified Diff: chrome/browser/local_discovery/wifi/bootstrapping_network_switcher.h

Issue 873103002: Removed unused native code related to wifi bootstrapping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sun 01/25/2015 21:44:58.31 Created 5 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/local_discovery/wifi/bootstrapping_network_switcher.h
diff --git a/chrome/browser/local_discovery/wifi/bootstrapping_network_switcher.h b/chrome/browser/local_discovery/wifi/bootstrapping_network_switcher.h
deleted file mode 100644
index ca660b074a1af4671d055406787ecf4b37bd14fa..0000000000000000000000000000000000000000
--- a/chrome/browser/local_discovery/wifi/bootstrapping_network_switcher.h
+++ /dev/null
@@ -1,50 +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_WIFI_BOOTSTRAPPING_NETWORK_SWITCHER_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_WIFI_BOOTSTRAPPING_NETWORK_SWITCHER_H_
-
-#include <string>
-
-#include "base/callback.h"
-#include "base/memory/weak_ptr.h"
-#include "chrome/browser/local_discovery/wifi/wifi_manager.h"
-
-namespace local_discovery {
-
-namespace wifi {
-
-class BootstrappingNetworkSwitcher {
- public:
- typedef base::Callback<void(bool success)> SuccessCallback;
-
- BootstrappingNetworkSwitcher(WifiManager* wifi_manager,
- const std::string& connect_ssid,
- const SuccessCallback& callback);
- ~BootstrappingNetworkSwitcher();
-
- void Connect();
-
- void Disconnect();
-
- private:
- void OnGotNetworkList(const NetworkPropertiesList& networks);
-
- void OnConnectStatus(bool status);
-
- WifiManager* wifi_manager_;
- std::string connect_ssid_;
- SuccessCallback callback_;
-
- std::string return_guid_;
- bool connected_;
-
- base::WeakPtrFactory<BootstrappingNetworkSwitcher> weak_factory_;
-};
-
-} // namespace wifi
-
-} // namespace local_discovery
-
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_WIFI_BOOTSTRAPPING_NETWORK_SWITCHER_H_

Powered by Google App Engine
This is Rietveld 408576698