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

Unified Diff: components/html_viewer/stats_collection_controller.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 | « components/html_viewer/media_factory.cc ('k') | components/html_viewer/stats_collection_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/stats_collection_controller.h
diff --git a/components/html_viewer/stats_collection_controller.h b/components/html_viewer/stats_collection_controller.h
index c417bf34fc377eb161b86797b7d562642c3c0788..69f0ab4337e4141f00ab3076b552fbc6a001d0a7 100644
--- a/components/html_viewer/stats_collection_controller.h
+++ b/components/html_viewer/stats_collection_controller.h
@@ -14,7 +14,7 @@ class WebFrame;
}
namespace mojo {
-class ApplicationImpl;
+class Shell;
}
namespace html_viewer {
@@ -32,12 +32,12 @@ class StatsCollectionController
// This bails and returns a null pointer without the stats command line flag.
static tracing::StartupPerformanceDataCollectorPtr Install(
blink::WebFrame* frame,
- mojo::ApplicationImpl* app);
+ mojo::Shell* shell);
// Return a mojo:metrics InterfacePtr for stats reporting.
// This bails and returns a null pointer without the stats command line flag.
static tracing::StartupPerformanceDataCollectorPtr ConnectToDataCollector(
- mojo::ApplicationImpl* app);
+ mojo::Shell* shell);
private:
explicit StatsCollectionController(
« no previous file with comments | « components/html_viewer/media_factory.cc ('k') | components/html_viewer/stats_collection_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698