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

Unified Diff: extensions/browser/api/networking_private/networking_private_linux.cc

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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/networking_private/networking_private_linux.cc
diff --git a/extensions/browser/api/networking_private/networking_private_linux.cc b/extensions/browser/api/networking_private/networking_private_linux.cc
index f28eccdd73c99301d2379e27151f4cb1ec7141fc..43242de20ea119085b2ef6711b22c2f1525aaf65 100644
--- a/extensions/browser/api/networking_private/networking_private_linux.cc
+++ b/extensions/browser/api/networking_private/networking_private_linux.cc
@@ -564,10 +564,10 @@ scoped_ptr<base::ListValue> NetworkingPrivateLinux::GetEnabledNetworkTypes() {
scoped_ptr<NetworkingPrivateDelegate::DeviceStateList>
NetworkingPrivateLinux::GetDeviceStateList() {
scoped_ptr<DeviceStateList> device_state_list(new DeviceStateList);
- scoped_ptr<core_api::networking_private::DeviceStateProperties> properties(
- new core_api::networking_private::DeviceStateProperties);
- properties->type = core_api::networking_private::NETWORK_TYPE_WIFI;
- properties->state = core_api::networking_private::DEVICE_STATE_TYPE_ENABLED;
+ scoped_ptr<api::networking_private::DeviceStateProperties> properties(
+ new api::networking_private::DeviceStateProperties);
+ properties->type = api::networking_private::NETWORK_TYPE_WIFI;
+ properties->state = api::networking_private::DEVICE_STATE_TYPE_ENABLED;
device_state_list->push_back(properties.Pass());
return device_state_list.Pass();
}

Powered by Google App Engine
This is Rietveld 408576698