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

Side by Side Diff: content/common/mojo/embedded_application_runner.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/common/mojo/embedded_application_runner.h" 5 #include "content/common/mojo/embedded_application_runner.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.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"
14 #include "base/threading/thread_checker.h" 13 #include "base/threading/thread_checker.h"
14 #include "base/threading/thread_task_runner_handle.h"
15 #include "services/shell/public/cpp/shell_connection.h" 15 #include "services/shell/public/cpp/shell_connection.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 class EmbeddedApplicationRunner::Instance 19 class EmbeddedApplicationRunner::Instance
20 : public base::RefCountedThreadSafe<Instance> { 20 : public base::RefCountedThreadSafe<Instance> {
21 public: 21 public:
22 explicit Instance( 22 explicit Instance(
23 const EmbeddedApplicationRunner::FactoryCallback& callback, 23 const EmbeddedApplicationRunner::FactoryCallback& callback,
24 const base::Closure& quit_closure) 24 const base::Closure& quit_closure)
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 void EmbeddedApplicationRunner::SetQuitClosure( 104 void EmbeddedApplicationRunner::SetQuitClosure(
105 const base::Closure& quit_closure) { 105 const base::Closure& quit_closure) {
106 quit_closure_ = quit_closure; 106 quit_closure_ = quit_closure;
107 } 107 }
108 108
109 void EmbeddedApplicationRunner::OnQuit() { 109 void EmbeddedApplicationRunner::OnQuit() {
110 quit_closure_.Run(); 110 quit_closure_.Run();
111 } 111 }
112 112
113 } // namespace content 113 } // namespace content
OLDNEW
« no previous file with comments | « content/common/host_discardable_shared_memory_manager.cc ('k') | content/public/test/fake_speech_recognition_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698