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

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

Issue 8604005: Add OVERRIDE to chrome/browser/ui/webui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/webui/screenshot_source.h ('k') | chrome/browser/ui/webui/theme_source.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 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_UI_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_
6 #define CHROME_BROWSER_UI_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h"
11 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" 12 #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
12 13
13 // A DataSource for chrome://resources/ URLs. 14 // A DataSource for chrome://resources/ URLs.
14 class SharedResourcesDataSource : public ChromeURLDataManager::DataSource { 15 class SharedResourcesDataSource : public ChromeURLDataManager::DataSource {
15 public: 16 public:
16 SharedResourcesDataSource(); 17 SharedResourcesDataSource();
17 18
18 // Overridden from ChromeURLDataManager::DataSource: 19 // Overridden from ChromeURLDataManager::DataSource:
19 virtual void StartDataRequest(const std::string& path, 20 virtual void StartDataRequest(const std::string& path,
20 bool is_incognito, 21 bool is_incognito,
21 int request_id); 22 int request_id) OVERRIDE;
22 virtual std::string GetMimeType(const std::string&) const; 23 virtual std::string GetMimeType(const std::string&) const OVERRIDE;
23 24
24 private: 25 private:
25 virtual ~SharedResourcesDataSource(); 26 virtual ~SharedResourcesDataSource();
26 27
27 DISALLOW_COPY_AND_ASSIGN(SharedResourcesDataSource); 28 DISALLOW_COPY_AND_ASSIGN(SharedResourcesDataSource);
28 }; 29 };
29 30
30 #endif // CHROME_BROWSER_UI_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_ 31 #endif // CHROME_BROWSER_UI_WEBUI_SHARED_RESOURCES_DATA_SOURCE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/screenshot_source.h ('k') | chrome/browser/ui/webui/theme_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698