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

Side by Side Diff: components/html_viewer/stats_collection_controller.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/html_viewer/stats_collection_controller.h" 5 #include "components/html_viewer/stats_collection_controller.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/metrics/statistics_recorder.h" 12 #include "base/metrics/statistics_recorder.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "components/startup_metric_utils/browser/startup_metric_utils.h" 14 #include "components/startup_metric_utils/browser/startup_metric_utils.h"
15 #include "gin/handle.h" 15 #include "gin/handle.h"
16 #include "gin/object_template_builder.h" 16 #include "gin/object_template_builder.h"
17 #include "mojo/application/public/cpp/application_impl.h"
18 #include "mojo/services/tracing/public/cpp/switches.h" 17 #include "mojo/services/tracing/public/cpp/switches.h"
18 #include "mojo/shell/public/cpp/application_impl.h"
19 #include "third_party/WebKit/public/web/WebKit.h" 19 #include "third_party/WebKit/public/web/WebKit.h"
20 #include "third_party/WebKit/public/web/WebLocalFrame.h" 20 #include "third_party/WebKit/public/web/WebLocalFrame.h"
21 21
22 namespace html_viewer { 22 namespace html_viewer {
23 23
24 namespace { 24 namespace {
25 25
26 // Initialize the histogram data using the given startup performance times. 26 // Initialize the histogram data using the given startup performance times.
27 void GetStartupPerformanceTimesCallbackImpl( 27 void GetStartupPerformanceTimesCallbackImpl(
28 tracing::StartupPerformanceTimesPtr times) { 28 tracing::StartupPerformanceTimesPtr times) {
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 histogram->WriteJSON(&histogram_json); 152 histogram->WriteJSON(&histogram_json);
153 return histogram_json; 153 return histogram_json;
154 } 154 }
155 155
156 std::string StatsCollectionController::GetBrowserHistogram( 156 std::string StatsCollectionController::GetBrowserHistogram(
157 const std::string& histogram_name) { 157 const std::string& histogram_name) {
158 return GetHistogram(histogram_name); 158 return GetHistogram(histogram_name);
159 } 159 }
160 160
161 } // namespace html_viewer 161 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/media_factory.cc ('k') | components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698