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

Unified Diff: content/public/browser/url_data_source_delegate.cc

Issue 11881055: Simplify WebUI data sources. Currently WebUI data sources implement a URLDataSourceDelegate interfa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix issue in about_ui exposed by cros tests 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/public/browser/url_data_source_delegate.cc
===================================================================
--- content/public/browser/url_data_source_delegate.cc (revision 176942)
+++ content/public/browser/url_data_source_delegate.cc (working copy)
@@ -1,31 +0,0 @@
-// Copyright (c) 2013 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.
-
-#include "content/public/browser/url_data_source_delegate.h"
-
-#include "content/public/browser/browser_thread.h"
-
-namespace content {
-
-URLDataSourceDelegate::URLDataSourceDelegate()
- : url_data_source_(NULL) {
-}
-
-URLDataSourceDelegate::~URLDataSourceDelegate() {
-}
-
-MessageLoop* URLDataSourceDelegate::MessageLoopForRequestPath(
- const std::string& path) const {
- return BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::UI);
-}
-
-bool URLDataSourceDelegate::ShouldReplaceExistingSource() const {
- return true;
-}
-
-bool URLDataSourceDelegate::AllowCaching() const {
- return true;
-}
-
-} // namespace content
« content/public/browser/url_data_source.h ('K') | « content/public/browser/url_data_source_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698