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

Unified Diff: mojo/shell/capability_filter_test.h

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 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 | « mojo/shell/application_package_apptest.cc ('k') | mojo/shell/capability_filter_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/capability_filter_test.h
diff --git a/mojo/shell/capability_filter_test.h b/mojo/shell/capability_filter_test.h
index 394c842e5bea7f06ed93ff717e5cac41d4bfa5d7..459cfe87e77536f38f6efef3aedd6bc61b14a6a3 100644
--- a/mojo/shell/capability_filter_test.h
+++ b/mojo/shell/capability_filter_test.h
@@ -28,12 +28,13 @@ class TestApplication : public ApplicationDelegate {
private:
// Overridden from ApplicationDelegate:
- void Initialize(ApplicationImpl* app) override;
+ void Initialize(Shell* shell, const std::string& url, uint32_t id) override;
bool AcceptConnection(ApplicationConnection* connection) override;
void ConnectionClosed(const std::string& service_url);
- ApplicationImpl* app_;
+ Shell* shell_;
+ std::string url_;
ValidatorPtr validator_;
scoped_ptr<ApplicationConnection> connection1_;
scoped_ptr<ApplicationConnection> connection2_;
« no previous file with comments | « mojo/shell/application_package_apptest.cc ('k') | mojo/shell/capability_filter_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698