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

Side by Side Diff: extensions/common/extension_api.cc

Issue 132793014: Change streamsPrivate to use an IDL definition file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review fix Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/extensions_api_resources.grd ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/common/extension_api.h" 5 #include "extensions/common/extension_api.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 RegisterSchemaResource("fileBrowserHandler", 242 RegisterSchemaResource("fileBrowserHandler",
243 IDR_EXTENSION_API_JSON_FILEBROWSERHANDLER); 243 IDR_EXTENSION_API_JSON_FILEBROWSERHANDLER);
244 RegisterSchemaResource("inputMethodPrivate", 244 RegisterSchemaResource("inputMethodPrivate",
245 IDR_EXTENSION_API_JSON_INPUTMETHODPRIVATE); 245 IDR_EXTENSION_API_JSON_INPUTMETHODPRIVATE);
246 RegisterSchemaResource("pageAction", IDR_EXTENSION_API_JSON_PAGEACTION); 246 RegisterSchemaResource("pageAction", IDR_EXTENSION_API_JSON_PAGEACTION);
247 RegisterSchemaResource("pageActions", IDR_EXTENSION_API_JSON_PAGEACTIONS); 247 RegisterSchemaResource("pageActions", IDR_EXTENSION_API_JSON_PAGEACTIONS);
248 RegisterSchemaResource("privacy", IDR_EXTENSION_API_JSON_PRIVACY); 248 RegisterSchemaResource("privacy", IDR_EXTENSION_API_JSON_PRIVACY);
249 RegisterSchemaResource("processes", IDR_EXTENSION_API_JSON_PROCESSES); 249 RegisterSchemaResource("processes", IDR_EXTENSION_API_JSON_PROCESSES);
250 RegisterSchemaResource("proxy", IDR_EXTENSION_API_JSON_PROXY); 250 RegisterSchemaResource("proxy", IDR_EXTENSION_API_JSON_PROXY);
251 RegisterSchemaResource("scriptBadge", IDR_EXTENSION_API_JSON_SCRIPTBADGE); 251 RegisterSchemaResource("scriptBadge", IDR_EXTENSION_API_JSON_SCRIPTBADGE);
252 RegisterSchemaResource("streamsPrivate",
253 IDR_EXTENSION_API_JSON_STREAMSPRIVATE);
254 RegisterSchemaResource("ttsEngine", IDR_EXTENSION_API_JSON_TTSENGINE); 252 RegisterSchemaResource("ttsEngine", IDR_EXTENSION_API_JSON_TTSENGINE);
255 RegisterSchemaResource("tts", IDR_EXTENSION_API_JSON_TTS); 253 RegisterSchemaResource("tts", IDR_EXTENSION_API_JSON_TTS);
256 RegisterSchemaResource("types", IDR_EXTENSION_API_JSON_TYPES); 254 RegisterSchemaResource("types", IDR_EXTENSION_API_JSON_TYPES);
257 RegisterSchemaResource("types.private", IDR_EXTENSION_API_JSON_TYPES_PRIVATE); 255 RegisterSchemaResource("types.private", IDR_EXTENSION_API_JSON_TYPES_PRIVATE);
258 RegisterSchemaResource("webRequestInternal", 256 RegisterSchemaResource("webRequestInternal",
259 IDR_EXTENSION_API_JSON_WEBREQUESTINTERNAL); 257 IDR_EXTENSION_API_JSON_WEBREQUESTINTERNAL);
260 RegisterSchemaResource("webstore", IDR_EXTENSION_API_JSON_WEBSTORE); 258 RegisterSchemaResource("webstore", IDR_EXTENSION_API_JSON_WEBSTORE);
261 RegisterSchemaResource("webstorePrivate", 259 RegisterSchemaResource("webstorePrivate",
262 IDR_EXTENSION_API_JSON_WEBSTOREPRIVATE); 260 IDR_EXTENSION_API_JSON_WEBSTOREPRIVATE);
263 RegisterSchemaResource("webViewRequest", 261 RegisterSchemaResource("webViewRequest",
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 break; 411 break;
414 412
415 api_name_candidate = api_name_candidate.substr(0, last_dot_index); 413 api_name_candidate = api_name_candidate.substr(0, last_dot_index);
416 } 414 }
417 415
418 *child_name = ""; 416 *child_name = "";
419 return std::string(); 417 return std::string();
420 } 418 }
421 419
422 } // namespace extensions 420 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions_api_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698