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

Unified Diff: mojo/shell/capability_filter_unittest.cc

Issue 1311353005: Adds a way to determine id of content handler that created app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks 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
Index: mojo/shell/capability_filter_unittest.cc
diff --git a/mojo/shell/capability_filter_unittest.cc b/mojo/shell/capability_filter_unittest.cc
index fda2c314d3044660ea7270d9368239f3495c38fc..8a81cb453dc61984ef536193171ccd6d2ce843cd 100644
--- a/mojo/shell/capability_filter_unittest.cc
+++ b/mojo/shell/capability_filter_unittest.cc
@@ -350,9 +350,10 @@ class CapabilityFilterTest : public testing::Test {
URLRequestPtr request(URLRequest::New());
request->url = String::From(url);
application_manager_->ConnectToApplication(
- nullptr, request.Pass(), std::string(), GURL(), GetProxy(&services),
+ nullptr, request.Pass(), std::string(), GURL(),
+ ApplicationManager::kInvalidContentHandlerID, GetProxy(&services),
exposed_services.Pass(), filter,
- base::MessageLoop::QuitWhenIdleClosure());
+ base::MessageLoop::QuitWhenIdleClosure(), EmptyConnectCallback());
}
void InitValidator(const std::set<std::string>& expectations) {

Powered by Google App Engine
This is Rietveld 408576698