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

Side by Side Diff: chrome/browser/ui/webui/shared_resources_data_source.h

Issue 12049052: Move core url data manager classes to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments 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
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_
6 #define CHROME_BROWSER_UI_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "content/public/browser/url_data_source.h"
11
12 // A DataSource for chrome://resources/ URLs.
13 class SharedResourcesDataSource : public content::URLDataSource {
14 public:
15 SharedResourcesDataSource();
16
17 // content::URLDataSource implementation.
18 virtual std::string GetSource() OVERRIDE;
19 virtual void StartDataRequest(
20 const std::string& path,
21 bool is_incognito,
22 const content::URLDataSource::GotDataCallback& callback) OVERRIDE;
23 virtual std::string GetMimeType(const std::string&) const OVERRIDE;
24
25 private:
26 virtual ~SharedResourcesDataSource();
27
28 DISALLOW_COPY_AND_ASSIGN(SharedResourcesDataSource);
29 };
30
31 #endif // CHROME_BROWSER_UI_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_ui.cc ('k') | chrome/browser/ui/webui/shared_resources_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698