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

Unified Diff: chrome/browser/browser_about_handler_unittest.cc

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/browser/browser_about_handler.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler_unittest.cc
===================================================================
--- chrome/browser/browser_about_handler_unittest.cc (revision 50056)
+++ chrome/browser/browser_about_handler_unittest.cc (working copy)
@@ -5,8 +5,8 @@
#include "base/basictypes.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/browser_about_handler.h"
+#include "chrome/common/about_handler.h"
#include "chrome/common/url_constants.h"
-#include "chrome/renderer/about_handler.h"
#include "googleurl/src/gurl.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -87,7 +87,8 @@
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) {
GURL url(test_data[i].test_url);
- EXPECT_EQ(test_data[i].about_handled, AboutHandler::WillHandle(url));
+ EXPECT_EQ(test_data[i].about_handled,
+ chrome_about_handler::WillHandle(url));
EXPECT_EQ(test_data[i].browser_handled,
WillHandleBrowserAboutURL(&url, NULL));
EXPECT_EQ(test_data[i].result_url, url);
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698