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

Unified Diff: extensions/browser/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: Better comments Created 6 years, 5 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: extensions/browser/api/system_network/system_network_api.h
diff --git a/chrome/browser/extensions/api/system_network/system_network_api.h b/extensions/browser/api/system_network/system_network_api.h
similarity index 72%
rename from chrome/browser/extensions/api/system_network/system_network_api.h
rename to extensions/browser/api/system_network/system_network_api.h
index edd5707306900018bb69f41dad2a0acdb7189be5..54b0d9e07479dfdfdcccb7d196d3a4f6f1281ea0 100644
--- a/chrome/browser/extensions/api/system_network/system_network_api.h
+++ b/extensions/browser/api/system_network/system_network_api.h
@@ -2,15 +2,15 @@
// 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_
+#ifndef EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_
+#define EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_
-#include "chrome/common/extensions/api/system_network.h"
#include "extensions/browser/extension_function.h"
+#include "extensions/common/api/system_network.h"
#include "net/base/net_util.h"
namespace extensions {
-namespace api {
+namespace core_api {
class SystemNetworkGetNetworkInterfacesFunction
: public AsyncExtensionFunction {
@@ -32,7 +32,7 @@ class SystemNetworkGetNetworkInterfacesFunction
void SendResponseOnUIThread(const net::NetworkInterfaceList& interface_list);
};
-} // namespace api
+} // namespace core_api
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_
+#endif // EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_

Powered by Google App Engine
This is Rietveld 408576698