// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_URL_HANDLER_H_ #define CONTENT_PUBLIC_BROWSER_BROWSER_URL_HANDLER_H_ #include <vector> #include "content/common/content_export.h" class GURL; namespace content { class BrowserContext; // We handle some special browser-level URLs (like "about:version") // before they're handed to a renderer. This lets us do the URL handling // on the browser side (which has access to more information than the // renderers do) as well as sidestep the risk of exposing data to // random web pages (because from the resource loader's perspective, these // URL schemes don't exist). // BrowserURLHandler manages the list of all special URLs and manages // dispatching the URL handling to registered handlers. class CONTENT_EXPORT BrowserURLHandler { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_BROWSER_URL_HANDLER_H_