1 // Copyright (c) 2010 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 extern const char* const kAboutScheme; 18 19 // Returns true if the URL is one that AboutHandler will handle when 20 // AboutHandler::MaybeHandle is called. 21 bool WillHandle(const GURL& url); 22 23 } // namespace chrome_about_handler 24 25 #endif // CHROME_COMMON_ABOUT_HANDLER_H__ 26