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

Unified Diff: ui/webui/resources/js/analytics.js

Issue 2745303002: Make .clang-format files smaller after clang-format roll (Closed)
Patch Set: clang-format offer Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/webui/resources/.clang-format ('k') | ui/webui/resources/js/jstemplate_compiled.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/analytics.js
diff --git a/ui/webui/resources/js/analytics.js b/ui/webui/resources/js/analytics.js
index 6a467d371498cfa60be87e748bc80a63d037ca4f..c8bda26d2ff8d70089814051cf1023c2c017664b 100644
--- a/ui/webui/resources/js/analytics.js
+++ b/ui/webui/resources/js/analytics.js
@@ -5,4 +5,10 @@
// This file serves as a proxy to bring the included js file from /third_party
// into its correct location under the resources directory tree, whence it is
// delivered via a chrome://resources URL. See ../webui_resources.grd.
+
+// Note: this <include> is not behind a single-line comment because the first
+// line of the file is source code (so the first line would be skipped) instead
+// of a licence header.
+// clang-format off
<include src="../../../../third_party/analytics/google-analytics-bundle.js">
+// clang-format on
« no previous file with comments | « ui/webui/resources/.clang-format ('k') | ui/webui/resources/js/jstemplate_compiled.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698