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

Unified Diff: components/wug/data_source_util.h

Issue 928163002: Initial implementation of WebUI generator (WUG) toolkit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/wug/data_source_util.h
diff --git a/components/wug/data_source_util.h b/components/wug/data_source_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..ba7698e42ca6767813aa1dd76b31493392c2f2b9
--- /dev/null
+++ b/components/wug/data_source_util.h
@@ -0,0 +1,21 @@
+// 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.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_WUG_DATA_SOURCE_UTIL_H_
+#define CHROME_BROWSER_UI_WEBUI_WUG_DATA_SOURCE_UTIL_H_
+
+#include "components/wug/export.h"
+
+namespace content {
+class WebUIDataSource;
+}
+
+namespace wug {
+
+// Adds common resources needed for WUG to |data_source|.
+void WUG_EXPORT SetUpDataSource(content::WebUIDataSource* data_source);
+
+} // namespace wug
+
+#endif // CHROME_BROWSER_UI_WEBUI_WUG_DATA_SOURCE_UTIL_H_
« no previous file with comments | « components/wug/OWNERS ('k') | components/wug/data_source_util.cc » ('j') | components/wug/view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698