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

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

Issue 9349010: Move handling of debug urls like chrome://crash, chrome://gpuclean to content. These are for test... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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
(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_COMMON_ABOUT_HANDLER_H__
6 #define CHROME_COMMON_ABOUT_HANDLER_H__
7 #pragma once
8
9 #include <stddef.h>
10
11 class GURL;
12
13 namespace chrome_about_handler {
14
15 extern const char* const about_urls[];
16 extern const size_t about_urls_size; // Only used for testing
17
18 // Returns true if the URL is one that AboutHandler will handle when
19 // AboutHandler::MaybeHandle is called.
20 bool WillHandle(const GURL& url);
21
22 } // namespace chrome_about_handler
23
24 #endif // CHROME_COMMON_ABOUT_HANDLER_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698