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

Unified Diff: third_party/closure_compiler/externs/settings_private.js

Issue 1316003003: Add compiled_resources for settings/ and cr_elements/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md_settings_compiled_resources_2
Patch Set: Feedback Created 5 years, 4 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: third_party/closure_compiler/externs/settings_private.js
diff --git a/third_party/closure_compiler/externs/settings_private.js b/third_party/closure_compiler/externs/settings_private.js
index 8cc4619e8cba4e1bbe1a2f034c0831f07a53861b..9c02d6fbe227f51dbfdc8f111964963d954c3755 100644
--- a/third_party/closure_compiler/externs/settings_private.js
+++ b/third_party/closure_compiler/externs/settings_private.js
@@ -1,3 +1,14 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file was generated by:
+// ./tools/json_schema_compiler/compiler.py.
+// NOTE: The format of types has changed. 'FooType' is now
+// 'chrome.settingsPrivate.FooType'.
+// Please run the closure compiler before committing changes.
+// See https://code.google.com/p/chromium/wiki/ClosureCompilation.
+
/** @fileoverview Externs generated from namespace: settingsPrivate */
/**
@@ -45,7 +56,7 @@ chrome.settingsPrivate.PolicyEnforcement = {
* }}
* @see https://developer.chrome.com/extensions/settingsPrivate#type-PrefObject
*/
-var PrefObject;
+chrome.settingsPrivate.PrefObject;
/**
* Sets a settings value.
@@ -60,7 +71,7 @@ chrome.settingsPrivate.setPref = function(name, value, pageId, callback) {};
/**
* Gets an array of all the prefs.
- * @param {function(!Array<PrefObject>):void} callback
+ * @param {function(!Array<!chrome.settingsPrivate.PrefObject>):void} callback
* @see https://developer.chrome.com/extensions/settingsPrivate#method-getAllPrefs
*/
chrome.settingsPrivate.getAllPrefs = function(callback) {};
@@ -68,7 +79,7 @@ chrome.settingsPrivate.getAllPrefs = function(callback) {};
/**
* Gets the value of a specific pref.
* @param {string} name
- * @param {function(PrefObject):void} callback
+ * @param {function(!chrome.settingsPrivate.PrefObject):void} callback
* @see https://developer.chrome.com/extensions/settingsPrivate#method-getPref
*/
chrome.settingsPrivate.getPref = function(name, callback) {};
« no previous file with comments | « third_party/closure_compiler/compiled_resources.gyp ('k') | ui/webui/resources/cr_elements/v1_0/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698