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

Unified Diff: extensions/browser/api/networking_private/networking_private_service_client.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_service_client.cc
diff --git a/extensions/browser/api/networking_private/networking_private_service_client.cc b/extensions/browser/api/networking_private/networking_private_service_client.cc
index a59de449c7173fc50456f650c4235636fce38c85..d54041acbcb4be4dccdcf3b0f069a708344a2415 100644
--- a/extensions/browser/api/networking_private/networking_private_service_client.cc
+++ b/extensions/browser/api/networking_private/networking_private_service_client.cc
@@ -321,10 +321,10 @@ NetworkingPrivateServiceClient::GetEnabledNetworkTypes() {
scoped_ptr<NetworkingPrivateDelegate::DeviceStateList>
NetworkingPrivateServiceClient::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();
}
« no previous file with comments | « extensions/browser/api/networking_private/networking_private_linux.cc ('k') | extensions/browser/api/power/power_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698