| OLD | NEW |
| (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__ | |
| OLD | NEW |