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

Side by Side Diff: chrome/browser/ui/webui/profiler_ui.cc

Issue 468233004: Cleanup: Another round of removing unneeded grit #includes in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac, undo ui_localizer.mm Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/profiler_ui.h" 5 #include "chrome/browser/ui/webui/profiler_ui.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 // When testing the javacript code, it is cumbersome to have to keep 9 // When testing the javacript code, it is cumbersome to have to keep
10 // re-building the resouces package and reloading the browser. To solve 10 // re-building the resouces package and reloading the browser. To solve
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/profiles/profile.h" 22 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/task_profiler/task_profiler_data_serializer.h" 23 #include "chrome/browser/task_profiler/task_profiler_data_serializer.h"
24 #include "chrome/common/url_constants.h" 24 #include "chrome/common/url_constants.h"
25 #include "content/public/browser/browser_thread.h" 25 #include "content/public/browser/browser_thread.h"
26 #include "content/public/browser/url_data_source.h" 26 #include "content/public/browser/url_data_source.h"
27 #include "content/public/browser/web_contents.h" 27 #include "content/public/browser/web_contents.h"
28 #include "content/public/browser/web_ui.h" 28 #include "content/public/browser/web_ui.h"
29 #include "content/public/browser/web_ui_data_source.h" 29 #include "content/public/browser/web_ui_data_source.h"
30 #include "content/public/browser/web_ui_message_handler.h" 30 #include "content/public/browser/web_ui_message_handler.h"
31 #include "grit/browser_resources.h" 31 #include "grit/browser_resources.h"
32 #include "grit/generated_resources.h"
33 32
34 #ifdef USE_SOURCE_FILES_DIRECTLY 33 #ifdef USE_SOURCE_FILES_DIRECTLY
35 #include "base/base_paths.h" 34 #include "base/base_paths.h"
36 #include "base/file_util.h" 35 #include "base/file_util.h"
37 #include "base/memory/ref_counted_memory.h" 36 #include "base/memory/ref_counted_memory.h"
38 #include "base/path_service.h" 37 #include "base/path_service.h"
39 #endif // USE_SOURCE_FILES_DIRECTLY 38 #endif // USE_SOURCE_FILES_DIRECTLY
40 39
41 using chrome_browser_metrics::TrackingSynchronizer; 40 using chrome_browser_metrics::TrackingSynchronizer;
42 using content::BrowserThread; 41 using content::BrowserThread;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 int process_type) { 175 int process_type) {
177 // Serialize the data to JSON. 176 // Serialize the data to JSON.
178 base::DictionaryValue json_data; 177 base::DictionaryValue json_data;
179 task_profiler::TaskProfilerDataSerializer::ToValue(profiler_data, 178 task_profiler::TaskProfilerDataSerializer::ToValue(profiler_data,
180 process_type, 179 process_type,
181 &json_data); 180 &json_data);
182 181
183 // Send the data to the renderer. 182 // Send the data to the renderer.
184 web_ui()->CallJavascriptFunction("g_browserBridge.receivedData", json_data); 183 web_ui()->CallJavascriptFunction("g_browserBridge.receivedData", json_data);
185 } 184 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698