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

Unified Diff: chrome/browser/extensions/api/system_network/system_network_api.h

Issue 389633002: Move system.* family of APIs to extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 3 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/extensions/api/system_network/system_network_api.h
diff --git a/chrome/browser/extensions/api/system_network/system_network_api.h b/chrome/browser/extensions/api/system_network/system_network_api.h
deleted file mode 100644
index edd5707306900018bb69f41dad2a0acdb7189be5..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/system_network/system_network_api.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 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_EXTENSIONS_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_
-#define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_
-
-#include "chrome/common/extensions/api/system_network.h"
-#include "extensions/browser/extension_function.h"
-#include "net/base/net_util.h"
-
-namespace extensions {
-namespace api {
-
-class SystemNetworkGetNetworkInterfacesFunction
- : public AsyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("system.network.getNetworkInterfaces",
- SYSTEM_NETWORK_GETNETWORKINTERFACES)
-
- SystemNetworkGetNetworkInterfacesFunction();
-
- protected:
- virtual ~SystemNetworkGetNetworkInterfacesFunction();
-
- // AsyncApiFunction:
- virtual bool RunAsync() OVERRIDE;
-
- private:
- void GetListOnFileThread();
- void HandleGetListError();
- void SendResponseOnUIThread(const net::NetworkInterfaceList& interface_list);
-};
-
-} // namespace api
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_

Powered by Google App Engine
This is Rietveld 408576698