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

Unified Diff: chrome/browser/importer/toolbar_importer_utils_browsertest.cc

Issue 18120005: Remove Google Toolbar importer (aka google.com/bookmarks importer). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -explicit Created 7 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
Index: chrome/browser/importer/toolbar_importer_utils_browsertest.cc
diff --git a/chrome/browser/importer/toolbar_importer_utils_browsertest.cc b/chrome/browser/importer/toolbar_importer_utils_browsertest.cc
deleted file mode 100644
index 1d71fcaef24366a648ad68679883a7e420288933..0000000000000000000000000000000000000000
--- a/chrome/browser/importer/toolbar_importer_utils_browsertest.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2011 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.
-
-#include "base/bind.h"
-#include "base/message_loop.h"
-#include "chrome/browser/importer/toolbar_importer_utils.h"
-#include "chrome/browser/ui/browser.h"
-#include "chrome/test/base/in_process_browser_test.h"
-#include "chrome/test/base/ui_test_utils.h"
-
-namespace {
-
-class ToolbarImporterUtilsTest : public InProcessBrowserTest {
- public:
- ToolbarImporterUtilsTest() : did_run_(false) {
- }
-
- void Callback(bool result) {
- DCHECK(!result);
- did_run_ = true;
- base::MessageLoop::current()->Quit();
- }
-
- protected:
- bool did_run_;
-};
-
-IN_PROC_BROWSER_TEST_F(ToolbarImporterUtilsTest, NoCrash) {
- // Regression test for http://crbug.com/89752
- toolbar_importer_utils::IsGoogleGAIACookieInstalled(
- base::Bind(&ToolbarImporterUtilsTest::Callback,
- base::Unretained(this)),
- browser()->profile());
- if (!did_run_) {
- content::RunMessageLoop();
- }
- ASSERT_TRUE(did_run_);
-}
-
-} // namespace
« no previous file with comments | « chrome/browser/importer/toolbar_importer_utils.cc ('k') | chrome/browser/ui/webui/options/import_data_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698