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

Unified Diff: chrome/test/base/chrome_test_suite.cc

Issue 13198003: Remove the chrome include in extensions\DEPS by creating a test data directory for extensions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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_unit.gypi ('k') | chrome/unit_tests.isolate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/chrome_test_suite.cc
===================================================================
--- chrome/test/base/chrome_test_suite.cc (revision 191004)
+++ chrome/test/base/chrome_test_suite.cc (working copy)
@@ -26,6 +26,7 @@
#include "chrome/common/url_constants.h"
#include "chrome/test/base/testing_browser_process.h"
#include "content/public/test/test_launcher.h"
+#include "extensions/common/extension_paths.h"
#include "net/base/net_errors.h"
#include "net/base/net_util.h"
#include "net/dns/mock_host_resolver.h"
@@ -216,6 +217,8 @@
}
#if !defined(OS_IOS)
+ extensions::RegisterPathProvider();
+
if (!content::GetCurrentTestLauncherDelegate()) {
// Only want to do this for unit tests. For browser tests, this won't create
// the right object since TestChromeWebUIControllerFactory is used. That's
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/unit_tests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698