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

Side by Side Diff: chrome/browser/browser_about_handler.h

Issue 6804: Add about:terms to Chrome, and about:licence to Chromium and Chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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
« no previous file with comments | « chrome/app/resources/terms/terms_zh-TW.html ('k') | chrome/browser/browser_about_handler.cc » ('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) 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
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
OLDNEW
« no previous file with comments | « chrome/app/resources/terms/terms_zh-TW.html ('k') | chrome/browser/browser_about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698