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

Unified Diff: components/filesystem/files_test_base.cc

Issue 1121783003: Move navigations with POST or referrer to the shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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 | « components/clipboard/clipboard_apptest.cc ('k') | components/html_viewer/ax_provider_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/filesystem/files_test_base.cc
diff --git a/components/filesystem/files_test_base.cc b/components/filesystem/files_test_base.cc
index f25f840ef80fea63693c827c825438077362b622..af0e63c9be6bd7b48313e987f67ff1812bc8e7ea 100644
--- a/components/filesystem/files_test_base.cc
+++ b/components/filesystem/files_test_base.cc
@@ -19,7 +19,10 @@ FilesTestBase::~FilesTestBase() {
void FilesTestBase::SetUp() {
test::ApplicationTestBase::SetUp();
- application_impl()->ConnectToService("mojo:files", &files_);
+
+ mojo::URLRequestPtr request(mojo::URLRequest::New());
+ request->url = mojo::String::From("mojo:files");
+ application_impl()->ConnectToService(request.Pass(), &files_);
}
void FilesTestBase::GetTemporaryRoot(DirectoryPtr* directory) {
« no previous file with comments | « components/clipboard/clipboard_apptest.cc ('k') | components/html_viewer/ax_provider_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698