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

Side by Side Diff: chrome/renderer/resources/extensions/schema_generated_bindings.js

Issue 12313142: Revert 184837 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 9 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
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Generates the chrome.* API bindings from a list of schemas. 5 // Generates the chrome.* API bindings from a list of schemas.
6 6
7 // TODO(battre): cleanup the usage of packages everywhere, as described here 7 // TODO(battre): cleanup the usage of packages everywhere, as described here
8 // http://codereview.chromium.org/10392008/diff/38/chrome/renderer/resources/e xtensions/schema_generated_bindings.js 8 // http://codereview.chromium.org/10392008/diff/38/chrome/renderer/resources/e xtensions/schema_generated_bindings.js
9 9
10 require('json_schema'); 10 require('json_schema');
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 hook({ 428 hook({
429 apiFunctions: new NamespacedAPIFunctions(apiDef.namespace, 429 apiFunctions: new NamespacedAPIFunctions(apiDef.namespace,
430 apiFunctions), 430 apiFunctions),
431 apiDefinitions: apiDefinitions, 431 apiDefinitions: apiDefinitions,
432 }, extensionId, contextType); 432 }, extensionId, contextType);
433 }); 433 });
434 434
435 if (chrome.test) 435 if (chrome.test)
436 chrome.test.getApiDefinitions = GetExtensionAPIDefinition; 436 chrome.test.getApiDefinitions = GetExtensionAPIDefinition;
437 }); 437 });
OLDNEW
« no previous file with comments | « chrome/renderer/resources/extensions/runtime_custom_bindings.js ('k') | chrome/renderer/resources/extensions/schema_utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698