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

Unified Diff: chrome/browser/resources/options/chromeos/internet_detail.js

Issue 553573003: Compile chrome://settings, part 3: 167 proper errors left (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@G_options_errors_1
Patch Set: mark narrow type in createItem JSDoc Created 6 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: chrome/browser/resources/options/chromeos/internet_detail.js
diff --git a/chrome/browser/resources/options/chromeos/internet_detail.js b/chrome/browser/resources/options/chromeos/internet_detail.js
index f0dcbfc81dcd5cb5f8c7e92558f9580df188c7a4..2f1dc30f23126349ef4ab891f60861a77f78131d 100644
--- a/chrome/browser/resources/options/chromeos/internet_detail.js
+++ b/chrome/browser/resources/options/chromeos/internet_detail.js
@@ -11,18 +11,31 @@
// networkingPrivate API. See network_config.js.
// See crbug.com/279351 for more info.
+/** @typedef {{address: (string|undefined),
+ * gateway: (string|undefined),
+ * nameServers: (string|undefined),
+ * netmask: (string|undefined),
+ * prefixLength: (number|undefined)}}
+ * @see chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
+ */
+var IPInfo;
+
/** @typedef {{activationState: (string|undefined),
* carriers: Array,
- * currentCarrierIndex; (number|undefined),
+ * currentCarrierIndex: (number|undefined),
+ * deviceConnected: boolean,
+ * errorMessage: string,
* ipAutoConfig: boolean,
- * ipconfig: Object,
+ * ipconfig: IPInfo,
* nameServerType: string,
* restrictedPool: (string|undefined),
* roamingState: (string|undefined),
* savedIP: Object,
- * showActivateButton: (boolean|undefined)
+ * servicePath: string,
+ * shared: boolean,
+ * showActivateButton: (boolean|undefined),
* showViewAccountButton: (boolean|undefined),
- * staticIP: Object}}
+ * staticIP: IPInfo}}
* Only the keys which had caused problems are declared in this typedef.
* There are many more of them.
* @see chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc

Powered by Google App Engine
This is Rietveld 408576698