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

Unified Diff: content/browser/webui/web_ui_data_source.h

Issue 12049052: Move core url data manager classes to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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: content/browser/webui/web_ui_data_source.h
===================================================================
--- content/browser/webui/web_ui_data_source.h (revision 178359)
+++ content/browser/webui/web_ui_data_source.h (working copy)
@@ -2,8 +2,8 @@
// 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_CHROME_WEB_UI_DATA_SOURCE_H_
-#define CHROME_BROWSER_UI_WEBUI_CHROME_WEB_UI_DATA_SOURCE_H_
+#ifndef CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_H_
+#define CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_H_
#include <map>
#include <string>
@@ -15,14 +15,14 @@
#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
#include "content/public/browser/url_data_source.h"
#include "content/public/browser/web_ui_data_source.h"
+#include "content/common/content_export.h"
// A data source that can help with implementing the common operations
// needed by the chrome WEBUI settings/history/downloads pages.
-// DO NOT DERIVE FROM THIS CLASS! http://crbug.com/169170
class ChromeWebUIDataSource : public URLDataSourceImpl,
public content::WebUIDataSource {
public:
- static content::WebUIDataSource* Create(const std::string& source_name);
+ CONTENT_EXPORT static content::WebUIDataSource* Create(const std::string& source_name);
// content::WebUIDataSource implementation:
virtual void AddString(const std::string& name,
@@ -94,4 +94,4 @@
DISALLOW_COPY_AND_ASSIGN(ChromeWebUIDataSource);
};
-#endif // CHROME_BROWSER_UI_WEBUI_CHROME_WEB_UI_DATA_SOURCE_H_
+#endif // CONTENT_BROWSER_WEBUI_WEB_UI_DATA_SOURCE_H_

Powered by Google App Engine
This is Rietveld 408576698