blob: d3c74f4e8c50fdbb907c400996d1eda62a49a9e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_COMMON_ABOUT_HANDLER_H__
#define CHROME_COMMON_ABOUT_HANDLER_H__
#pragma once
#include "chrome/common/url_constants.h"
#include "googleurl/src/gurl.h"
namespace chrome_about_handler {
extern const char* const about_urls[];
extern const size_t about_urls_size; // Only used for testing
extern const char* const kAboutScheme;
// Returns true if the URL is one that AboutHandler will handle when
// AboutHandler::MaybeHandle is called.
bool WillHandle(const GURL& url);
} // namespace chrome_about_handler
#endif // CHROME_COMMON_ABOUT_HANDLER_H__
|