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

Unified Diff: content/test/content_test_suite_base.cc

Issue 10826311: Move the corresponding cc files from content\test to be alongside their headers in content\public\t… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | « content/test/browser_test_utils.cc ('k') | content/test/download_test_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/content_test_suite_base.cc
===================================================================
--- content/test/content_test_suite_base.cc (revision 151499)
+++ content/test/content_test_suite_base.cc (working copy)
@@ -1,43 +0,0 @@
-// Copyright (c) 2012 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 "content/public/test/content_test_suite_base.h"
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/test/test_suite.h"
-#include "content/common/url_schemes.h"
-#include "content/public/common/content_client.h"
-#include "content/public/common/content_paths.h"
-#include "media/base/media.h"
-#include "ui/base/ui_base_paths.h"
-#include "ui/compositor/compositor_setup.h"
-
-namespace content {
-
-ContentTestSuiteBase::ContentTestSuiteBase(int argc, char** argv)
- : base::TestSuite(argc, argv),
- external_libraries_enabled_(true) {
-}
-
-void ContentTestSuiteBase::Initialize() {
- base::TestSuite::Initialize();
-
- if (external_libraries_enabled_)
- media::InitializeMediaLibraryForTesting();
-
- scoped_ptr<ContentClient> client_for_init(CreateClientForInitialization());
- SetContentClient(client_for_init.get());
- RegisterContentSchemes(false);
- SetContentClient(NULL);
-
- RegisterPathProvider();
- ui::RegisterPathProvider();
-
- // Mock out the compositor on platforms that use it.
- ui::SetupTestCompositor();
-}
-
-} // namespace content
« no previous file with comments | « content/test/browser_test_utils.cc ('k') | content/test/download_test_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698