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

Side by Side Diff: chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc

Issue 19073003: Update some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
« no previous file with comments | « chrome/browser/ui/webui/history_ui.cc ('k') | chrome/browser/ui/webui/metrics_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/memory_internals/memory_internals_proxy.h" 5 #include "chrome/browser/ui/webui/memory_internals/memory_internals_proxy.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "base/sys_info.h" 13 #include "base/sys_info.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
16 #include "chrome/browser/chrome_notification_types.h"
16 #include "chrome/browser/memory_details.h" 17 #include "chrome/browser/memory_details.h"
17 #include "chrome/browser/profiles/profile.h" 18 #include "chrome/browser/profiles/profile.h"
18 #include "chrome/browser/profiles/profile_manager.h" 19 #include "chrome/browser/profiles/profile_manager.h"
19 #include "chrome/browser/renderer_host/chrome_render_message_filter.h" 20 #include "chrome/browser/renderer_host/chrome_render_message_filter.h"
20 #include "chrome/browser/ui/android/tab_model/tab_model.h" 21 #include "chrome/browser/ui/android/tab_model/tab_model.h"
21 #include "chrome/browser/ui/android/tab_model/tab_model_list.h" 22 #include "chrome/browser/ui/android/tab_model/tab_model_list.h"
22 #include "chrome/browser/ui/tab_contents/tab_contents_iterator.h" 23 #include "chrome/browser/ui/tab_contents/tab_contents_iterator.h"
23 #include "chrome/browser/ui/webui/memory_internals/memory_internals_handler.h" 24 #include "chrome/browser/ui/webui/memory_internals/memory_internals_handler.h"
24 #include "chrome/common/chrome_notification_types.h"
25 #include "chrome/common/render_messages.h" 25 #include "chrome/common/render_messages.h"
26 #include "content/public/browser/notification_observer.h" 26 #include "content/public/browser/notification_observer.h"
27 #include "content/public/browser/notification_registrar.h" 27 #include "content/public/browser/notification_registrar.h"
28 #include "content/public/browser/notification_service.h" 28 #include "content/public/browser/notification_service.h"
29 #include "content/public/browser/render_view_host.h" 29 #include "content/public/browser/render_view_host.h"
30 #include "content/public/browser/web_contents.h" 30 #include "content/public/browser/web_contents.h"
31 #include "content/public/browser/web_ui.h" 31 #include "content/public/browser/web_ui.h"
32 32
33 using content::BrowserThread; 33 using content::BrowserThread;
34 34
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 void MemoryInternalsProxy::CallJavaScriptFunctionOnUIThread( 236 void MemoryInternalsProxy::CallJavaScriptFunctionOnUIThread(
237 const std::string& function, base::Value* args) { 237 const std::string& function, base::Value* args) {
238 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 238 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
239 239
240 std::vector<const base::Value*> args_vector; 240 std::vector<const base::Value*> args_vector;
241 args_vector.push_back(args); 241 args_vector.push_back(args);
242 string16 update = content::WebUI::GetJavascriptCall(function, args_vector); 242 string16 update = content::WebUI::GetJavascriptCall(function, args_vector);
243 UpdateUIOnUIThread(update); 243 UpdateUIOnUIThread(update);
244 } 244 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/history_ui.cc ('k') | chrome/browser/ui/webui/metrics_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698