summaryrefslogtreecommitdiffstats
path: root/chrome/common/about_handler.h
blob: 49b16ad2609f6976c4a92ecd751af83729691dda (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
25
// 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 <stddef.h>

class GURL;

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__