OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // Contains code for handling "about:" URLs in the browser process. | 5 // Contains code for handling "about:" URLs in the browser process. |
6 | 6 |
7 #ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H__ | 7 #ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H__ |
8 #define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H__ | 8 #define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H__ |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 // Renders a special page about:objects (about tracked objects such as Tasks). | 56 // Renders a special page about:objects (about tracked objects such as Tasks). |
57 static std::string AboutObjects(const std::string& query); | 57 static std::string AboutObjects(const std::string& query); |
58 | 58 |
59 // Renders a special page for about:dns. | 59 // Renders a special page for about:dns. |
60 static std::string AboutDns(); | 60 static std::string AboutDns(); |
61 | 61 |
62 // Renders a special page for about:stats. | 62 // Renders a special page for about:stats. |
63 static std::string AboutStats(); | 63 static std::string AboutStats(); |
64 | 64 |
| 65 // Renders a special page for "about:credits" which displays our |
| 66 // acknowledgements and legal information for code we depend on. |
| 67 static std::string AboutCredits(); |
| 68 |
| 69 // Renders a special page for "about:terms" which displays our |
| 70 // terms and conditions. |
| 71 static std::string AboutTerms(); |
| 72 |
65 // Renders a special page for about:memory which displays | 73 // Renders a special page for about:memory which displays |
66 // information about current state. | 74 // information about current state. |
67 static void AboutMemory(AboutSource*, int request_id); | 75 static void AboutMemory(AboutSource*, int request_id); |
68 | 76 |
69 private: | 77 private: |
70 ChromeURLDataManager::DataSource* about_source_; | 78 ChromeURLDataManager::DataSource* about_source_; |
71 DISALLOW_EVIL_CONSTRUCTORS(BrowserAboutHandler); | 79 DISALLOW_EVIL_CONSTRUCTORS(BrowserAboutHandler); |
72 }; | 80 }; |
73 | 81 |
74 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H__ | 82 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H__ |
75 | 83 |
OLD | NEW |