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

Side by Side Diff: chrome/browser/dom_ui/shared_resources_data_source.h

Issue 6532069: Reland "WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 5." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_DOM_UI_SHARED_RESOURCES_DATA_SOURCE_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_SHARED_RESOURCES_DATA_SOURCE_H_
6 #define CHROME_BROWSER_DOM_UI_SHARED_RESOURCES_DATA_SOURCE_H_ 6 #define CHROME_BROWSER_DOM_UI_SHARED_RESOURCES_DATA_SOURCE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" 9 #include "chrome/browser/webui/chrome_url_data_manager.h"
10 10
11 namespace net { 11 namespace net {
12 class URLRequest; 12 class URLRequest;
13 class URLRequestJob; 13 class URLRequestJob;
14 } // namespace net 14 } // namespace net
15 15
16 class GURL; 16 class GURL;
17 17
18 // A DataSource for chrome://resources/ URLs. 18 // A DataSource for chrome://resources/ URLs.
19 class SharedResourcesDataSource : public ChromeURLDataManager::DataSource { 19 class SharedResourcesDataSource : public ChromeURLDataManager::DataSource {
20 public: 20 public:
21 SharedResourcesDataSource(); 21 SharedResourcesDataSource();
22 22
23 // Overridden from ChromeURLDataManager::DataSource: 23 // Overridden from ChromeURLDataManager::DataSource:
24 virtual void StartDataRequest(const std::string& path, 24 virtual void StartDataRequest(const std::string& path,
25 bool is_off_the_record, 25 bool is_off_the_record,
26 int request_id); 26 int request_id);
27 virtual std::string GetMimeType(const std::string&) const; 27 virtual std::string GetMimeType(const std::string&) const;
28 28
29 private: 29 private:
30 ~SharedResourcesDataSource(); 30 ~SharedResourcesDataSource();
31 31
32 DISALLOW_COPY_AND_ASSIGN(SharedResourcesDataSource); 32 DISALLOW_COPY_AND_ASSIGN(SharedResourcesDataSource);
33 }; 33 };
34 34
35 #endif // CHROME_BROWSER_DOM_UI_SHARED_RESOURCES_DATA_SOURCE_H_ 35 #endif // CHROME_BROWSER_DOM_UI_SHARED_RESOURCES_DATA_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/print_preview_ui_html_source.h ('k') | chrome/browser/dom_ui/shared_resources_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698