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

Side by Side Diff: chrome/renderer/extensions/automation_internal_custom_bindings.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/renderer/extensions/automation_internal_custom_bindings.h" 5 #include "chrome/renderer/extensions/automation_internal_custom_bindings.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "chrome/common/extensions/chrome_extension_messages.h" 16 #include "chrome/common/extensions/chrome_extension_messages.h"
17 #include "chrome/common/extensions/manifest_handlers/automation.h" 17 #include "chrome/common/extensions/manifest_handlers/automation.h"
18 #include "content/public/renderer/render_frame.h" 18 #include "content/public/renderer/render_frame.h"
19 #include "content/public/renderer/render_thread.h" 19 #include "content/public/renderer/render_thread.h"
20 #include "content/public/renderer/render_view.h" 20 #include "content/public/renderer/render_view.h"
21 #include "extensions/common/extension.h" 21 #include "extensions/common/extension.h"
22 #include "extensions/common/manifest.h" 22 #include "extensions/common/manifest.h"
23 #include "extensions/renderer/script_context.h" 23 #include "extensions/renderer/script_context.h"
24 #include "ipc/message_filter.h" 24 #include "ipc/message_filter.h"
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 v8::Local<v8::Array> args(v8::Array::New(GetIsolate(), 2U)); 1253 v8::Local<v8::Array> args(v8::Array::New(GetIsolate(), 2U));
1254 args->Set(0U, v8::Integer::New(GetIsolate(), tree_id)); 1254 args->Set(0U, v8::Integer::New(GetIsolate(), tree_id));
1255 v8::Local<v8::Array> nodes(v8::Array::New(GetIsolate(), ids.size())); 1255 v8::Local<v8::Array> nodes(v8::Array::New(GetIsolate(), ids.size()));
1256 args->Set(1U, nodes); 1256 args->Set(1U, nodes);
1257 for (size_t i = 0; i < ids.size(); ++i) 1257 for (size_t i = 0; i < ids.size(); ++i)
1258 nodes->Set(i, v8::Integer::New(GetIsolate(), ids[i])); 1258 nodes->Set(i, v8::Integer::New(GetIsolate(), ids[i]));
1259 context()->DispatchEvent("automationInternal.onNodesRemoved", args); 1259 context()->DispatchEvent("automationInternal.onNodesRemoved", args);
1260 } 1260 }
1261 1261
1262 } // namespace extensions 1262 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_thread_observer.cc ('k') | chrome/renderer/extensions/cast_streaming_native_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698