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

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

Issue 2817026: Move the files in resources/shared/ into resources.pak (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase after tony's commit Created 10 years, 6 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
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_DOM_UI_SHARED_RESOURCES_DATA_SOURCE_H_
6 #define CHROME_BROWSER_DOM_UI_SHARED_RESOURCES_DATA_SOURCE_H_
7
8 #include "chrome/browser/dom_ui/chrome_url_data_manager.h"
9
10 class GURL;
11 class URLRequest;
12 class URLRequestJob;
13
14 // A DataSource for chrome://resources/ URLs.
15 class SharedResourcesDataSource : public ChromeURLDataManager::DataSource {
16 public:
17 // Registers an instance of this data source with the ChromeUrlDataManager.
18 static void Register();
19
20 // Overridden from ChromeURLDataManager::DataSource:
21 virtual void StartDataRequest(const std::string& path,
22 bool is_off_the_record,
23 int request_id);
24 virtual std::string GetMimeType(const std::string&) const;
25
26 private:
27 SharedResourcesDataSource();
28 ~SharedResourcesDataSource();
29
30 DISALLOW_COPY_AND_ASSIGN(SharedResourcesDataSource);
31 };
32
33 #endif // CHROME_BROWSER_DOM_UI_SHARED_RESOURCES_DATA_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/chrome_url_data_manager.cc ('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