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

Side by Side Diff: content/public/browser/url_data_source_delegate.cc

Issue 11885021: Don't derive from ChromeURLDataManager::DataSource, and instead have these classes implement a dele… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/public/browser/url_data_source_delegate.h"
6
7 #include "content/public/browser/browser_thread.h"
8
9 namespace content {
10
11 URLDataSourceDelegate::URLDataSourceDelegate()
12 : url_data_source_(NULL) {
13 }
14
15 URLDataSourceDelegate::~URLDataSourceDelegate() {
16 }
17
18 MessageLoop* URLDataSourceDelegate::MessageLoopForRequestPath(
19 const std::string& path) const {
20 return BrowserThread::UnsafeGetMessageLoopForThread(BrowserThread::UI);
21 }
22
23 bool URLDataSourceDelegate::ShouldReplaceExistingSource() const {
24 return true;
25 }
26
27 bool URLDataSourceDelegate::AllowCaching() const {
28 return true;
29 }
30
31 } // namespace content
OLDNEW
« chrome/browser/ui/webui/bookmarks_ui.cc ('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