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

Side by Side Diff: chrome/browser/ui/webui/chromeos/slow_trace_ui.cc

Issue 225183018: Move feedback files into src/components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/ui/webui/chromeos/slow_trace_ui.h" 5 #include "chrome/browser/ui/webui/chromeos/slow_trace_ui.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ref_counted_memory.h" 8 #include "base/memory/ref_counted_memory.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "chrome/browser/feedback/tracing_manager.h"
12 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "components/feedback/tracing_manager.h"
14 #include "content/public/browser/url_data_source.h" 14 #include "content/public/browser/url_data_source.h"
15 #include "content/public/browser/web_ui.h" 15 #include "content/public/browser/web_ui.h"
16 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
17 #include "ui/base/resource/resource_bundle.h" 17 #include "ui/base/resource/resource_bundle.h"
18 18
19 namespace chromeos { 19 namespace chromeos {
20 20
21 //////////////////////////////////////////////////////////////////////////////// 21 ////////////////////////////////////////////////////////////////////////////////
22 // 22 //
23 // SlowTraceSource 23 // SlowTraceSource
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 SlowTraceController::SlowTraceController(content::WebUI* web_ui) 72 SlowTraceController::SlowTraceController(content::WebUI* web_ui)
73 : WebUIController(web_ui) { 73 : WebUIController(web_ui) {
74 SlowTraceSource* html_source = new SlowTraceSource(); 74 SlowTraceSource* html_source = new SlowTraceSource();
75 75
76 // Set up the chrome://slow_trace/ source. 76 // Set up the chrome://slow_trace/ source.
77 Profile* profile = Profile::FromWebUI(web_ui); 77 Profile* profile = Profile::FromWebUI(web_ui);
78 content::URLDataSource::Add(profile, html_source); 78 content::URLDataSource::Add(profile, html_source);
79 } 79 }
80 80
81 } // namespace chromeos 81 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698