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

Unified Diff: chrome/browser/history/android/android_provider_backend_unittest.cc

Issue 1232123009: customtabs: Pre-create a renderer in mayLaunchUrl(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 4 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/android/tab_android.cc ('k') | content/browser/frame_host/navigation_controller_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/android/android_provider_backend_unittest.cc
diff --git a/chrome/browser/history/android/android_provider_backend_unittest.cc b/chrome/browser/history/android/android_provider_backend_unittest.cc
index 72d09bfe0f8bbe947ccd436725af5eec6f2d6470..cbd4daf03f81529e020698249cc62b7d21ecc1fe 100644
--- a/chrome/browser/history/android/android_provider_backend_unittest.cc
+++ b/chrome/browser/history/android/android_provider_backend_unittest.cc
@@ -263,6 +263,11 @@ class AndroidProviderBackendTest : public testing::Test {
DISALLOW_COPY_AND_ASSIGN(AndroidProviderBackendTest);
};
+TEST_F(AndroidProviderBackendTest, IgnoreAboutBlank) {
+ GURL url("about:blank");
+ ASSERT_FALSE(history_client_->CanAddURL(url));
+}
+
TEST_F(AndroidProviderBackendTest, UpdateTables) {
GURL url1("http://www.cnn.com");
URLID url_id1 = 0;
« no previous file with comments | « chrome/browser/android/tab_android.cc ('k') | content/browser/frame_host/navigation_controller_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698