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

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

Issue 7084024: Add chrome://quota-internals/ (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Reflect comments, move QuotaInternals{MessageHandler,Proxy} to .cc. Created 9 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 | Annotate | Revision Log
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_QUOTA_INTERNALS_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map>
10 #include <set>
9 #include <string> 11 #include <string>
12 #include <utility>
13 #include <vector>
10 14
11 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" 15 #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
12 #include "content/browser/webui/web_ui.h" 16 #include "content/browser/webui/web_ui.h"
17 #include "webkit/quota/quota_manager.h"
18 #include "webkit/quota/quota_types.h"
michaeln 2011/06/01 01:09:32 many of the includes in the .h file don't look nee
tzik 2011/06/03 16:01:19 Done.
13 19
14 class TabContents; 20 class TabContents;
michaeln 2011/06/01 01:09:32 this isn't really needed since it's forward delcar
tzik 2011/06/03 16:01:19 Done.
15 21
16 class QuotaInternalsUI : public WebUI { 22 class QuotaInternalsUI : public WebUI {
17 public: 23 public:
18 explicit QuotaInternalsUI(TabContents* contents); 24 explicit QuotaInternalsUI(TabContents* contents);
19 virtual ~QuotaInternalsUI() {} 25 virtual ~QuotaInternalsUI() {}
michaeln 2011/06/01 01:09:32 is a dtor really needed at all? i think you could
tzik 2011/06/03 16:01:19 Done.
20 26
21 private: 27 private:
22 DISALLOW_COPY_AND_ASSIGN(QuotaInternalsUI); 28 DISALLOW_COPY_AND_ASSIGN(QuotaInternalsUI);
23 }; 29 };
24 30
michaeln 2011/06/01 01:09:32 i think this can melt away to... #include "conten
tzik 2011/06/03 16:01:19 Done.
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_ 31 #endif // CHROME_BROWSER_UI_WEBUI_QUOTA_INTERNALS_UI_H_
43
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/quota_internals_ui.cc » ('j') | chrome/browser/ui/webui/quota_internals_ui.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698