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

Unified Diff: ppapi/proxy/network_list_resource.cc

Issue 23450012: Make NetworkList and NetworkMonitor APIs public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: ppapi/proxy/network_list_resource.cc
diff --git a/ppapi/proxy/network_list_resource.cc b/ppapi/proxy/network_list_resource.cc
index 62a342ce2de61e7c5d3aee062b24950e5b045f65..466e533daf79432e70cfe0b47e2bbdf37c604344 100644
--- a/ppapi/proxy/network_list_resource.cc
+++ b/ppapi/proxy/network_list_resource.cc
@@ -37,15 +37,15 @@ PP_Var NetworkListResource::GetName(uint32_t index) {
return StringVar::StringToPPVar(list_.at(index).name);
}
-PP_NetworkListType_Private NetworkListResource::GetType(uint32_t index) {
+PP_NetworkList_Type NetworkListResource::GetType(uint32_t index) {
if (index >= list_.size())
- return PP_NETWORKLIST_UNKNOWN;
+ return PP_NETWORKLIST_TYPE_UNKNOWN;
return list_.at(index).type;
}
-PP_NetworkListState_Private NetworkListResource::GetState(uint32_t index) {
+PP_NetworkList_State NetworkListResource::GetState(uint32_t index) {
if (index >= list_.size())
- return PP_NETWORKLIST_DOWN;
+ return PP_NETWORKLIST_STATE_DOWN;
return list_.at(index).state;
}

Powered by Google App Engine
This is Rietveld 408576698