Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6152)

Unified Diff: chrome/common/about_handler.h

Issue 2814012: Split part of about_handler into chrome/common to break the browser-renderer ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: with unit test Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/about_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/about_handler.h
===================================================================
--- chrome/common/about_handler.h (revision 0)
+++ chrome/common/about_handler.h (revision 0)
@@ -0,0 +1,23 @@
+// 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__
Property changes on: chrome/common/about_handler.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698