Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

about_handler.h

// 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__

#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__

Generated by  Doxygen 1.6.0   Back to index