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

Side by Side Diff: chrome/common/about_handler.h

Issue 7068007: Revise about: and chrome: url handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update special_tabs.py from Nirnimesh's codereview.chromium.org/6995057/. 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
« no previous file with comments | « chrome/browser/ui/webui/web_ui_util.cc ('k') | chrome/common/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) 2010 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_COMMON_ABOUT_HANDLER_H__ 5 #ifndef CHROME_COMMON_ABOUT_HANDLER_H__
6 #define CHROME_COMMON_ABOUT_HANDLER_H__ 6 #define CHROME_COMMON_ABOUT_HANDLER_H__
7 #pragma once 7 #pragma once
8 8
9 #include <stddef.h> 9 #include <stddef.h>
10 10
11 class GURL; 11 class GURL;
12 12
13 namespace chrome_about_handler { 13 namespace chrome_about_handler {
14 14
15 extern const char* const about_urls[]; 15 extern const char* const about_urls[];
16 extern const size_t about_urls_size; // Only used for testing 16 extern const size_t about_urls_size; // Only used for testing
17 extern const char* const kAboutScheme;
18 17
19 // Returns true if the URL is one that AboutHandler will handle when 18 // Returns true if the URL is one that AboutHandler will handle when
20 // AboutHandler::MaybeHandle is called. 19 // AboutHandler::MaybeHandle is called.
21 bool WillHandle(const GURL& url); 20 bool WillHandle(const GURL& url);
22 21
23 } // namespace chrome_about_handler 22 } // namespace chrome_about_handler
24 23
25 #endif // CHROME_COMMON_ABOUT_HANDLER_H__ 24 #endif // CHROME_COMMON_ABOUT_HANDLER_H__
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/web_ui_util.cc ('k') | chrome/common/about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698