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

Side by Side Diff: content/browser/media/media_internals_proxy.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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 (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 "content/browser/media/media_internals_proxy.h" 5 #include "content/browser/media/media_internals_proxy.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "content/browser/media/media_internals_handler.h" 14 #include "content/browser/media/media_internals_handler.h"
15 #include "content/public/browser/content_browser_client.h" 15 #include "content/public/browser/content_browser_client.h"
16 #include "content/public/browser/notification_service.h" 16 #include "content/public/browser/notification_service.h"
17 #include "content/public/browser/notification_types.h" 17 #include "content/public/browser/notification_types.h"
18 #include "content/public/browser/render_process_host.h" 18 #include "content/public/browser/render_process_host.h"
19 #include "content/public/browser/web_ui.h" 19 #include "content/public/browser/web_ui.h"
20 20
21 namespace content { 21 namespace content {
22 22
23 static const int kMediaInternalsProxyEventDelayMilliseconds = 100; 23 static const int kMediaInternalsProxyEventDelayMilliseconds = 100;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 const std::string& function, base::Value* args) { 179 const std::string& function, base::Value* args) {
180 DCHECK_CURRENTLY_ON(BrowserThread::UI); 180 DCHECK_CURRENTLY_ON(BrowserThread::UI);
181 std::unique_ptr<base::Value> args_value(args); 181 std::unique_ptr<base::Value> args_value(args);
182 std::vector<const base::Value*> args_vector; 182 std::vector<const base::Value*> args_vector;
183 args_vector.push_back(args_value.get()); 183 args_vector.push_back(args_value.get());
184 base::string16 update = WebUI::GetJavascriptCall(function, args_vector); 184 base::string16 update = WebUI::GetJavascriptCall(function, args_vector);
185 UpdateUIOnUIThread(update); 185 UpdateUIOnUIThread(update);
186 } 186 }
187 187
188 } // namespace content 188 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/capture/web_contents_tracker.cc ('k') | content/browser/mojo/mojo_shell_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698