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

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

Issue 747923004: webui: minimize webui flicker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: creis@ + davidben@ review Created 6 years, 1 month 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/shared_resources_data_source.h
diff --git a/content/browser/webui/shared_resources_data_source.h b/content/browser/webui/shared_resources_data_source.h
index 87b5121ad2286b8bad276a4efa63a8fb4425d8de..5c300ef68ec3c34cf0b32a16989ab163944622ef 100644
--- a/content/browser/webui/shared_resources_data_source.h
+++ b/content/browser/webui/shared_resources_data_source.h
@@ -9,18 +9,20 @@
#include "base/compiler_specific.h"
#include "content/public/browser/url_data_source.h"
+namespace content {
+
// A DataSource for chrome://resources/ URLs.
-class SharedResourcesDataSource : public content::URLDataSource {
+class SharedResourcesDataSource : public URLDataSource {
public:
SharedResourcesDataSource();
- // content::URLDataSource implementation.
+ // URLDataSource implementation.
std::string GetSource() const override;
void StartDataRequest(
const std::string& path,
int render_process_id,
int render_frame_id,
- const content::URLDataSource::GotDataCallback& callback) override;
+ const URLDataSource::GotDataCallback& callback) override;
std::string GetMimeType(const std::string&) const override;
std::string GetAccessControlAllowOriginForOrigin(
const std::string& origin) const override;
@@ -31,4 +33,6 @@ class SharedResourcesDataSource : public content::URLDataSource {
DISALLOW_COPY_AND_ASSIGN(SharedResourcesDataSource);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_
« no previous file with comments | « chrome/browser/resources/uber/uber_frame.html ('k') | content/browser/webui/shared_resources_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698