OLD | NEW |
(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_QUOTA_INTERNALS_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_UI_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <string> |
| 10 |
| 11 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
| 12 #include "content/browser/webui/web_ui.h" |
| 13 |
| 14 class TabContents; |
| 15 |
| 16 class QuotaInternalsUI : public WebUI { |
| 17 public: |
| 18 explicit QuotaInternalsUI(TabContents* contents); |
| 19 virtual ~QuotaInternalsUI() {} |
| 20 |
| 21 private: |
| 22 DISALLOW_COPY_AND_ASSIGN(QuotaInternalsUI); |
| 23 }; |
| 24 |
| 25 namespace quota_internals { |
| 26 |
| 27 class QuotaInternalsHTMLSource : public ChromeURLDataManager::DataSource { |
| 28 public: |
| 29 QuotaInternalsHTMLSource(); |
| 30 virtual void StartDataRequest(const std::string& path, |
| 31 bool is_incognito, |
| 32 int request_id) OVERRIDE; |
| 33 virtual std::string GetMimeType(const std::string&) const; |
| 34 |
| 35 private: |
| 36 virtual ~QuotaInternalsHTMLSource() {} |
| 37 DISALLOW_COPY_AND_ASSIGN(QuotaInternalsHTMLSource); |
| 38 }; |
| 39 |
| 40 } // namespace quota_internals |
| 41 |
| 42 #endif // CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_UI_H_ |
| 43 |
OLD | NEW |