| Index: content/browser/child_process_launcher.h
|
| diff --git a/content/browser/child_process_launcher.h b/content/browser/child_process_launcher.h
|
| index 736a7340695dcfe2922ec3d3aefa4e33515a0b78..074f2cf6b250c3c667634c5cc3d211bd5e2f3988 100644
|
| --- a/content/browser/child_process_launcher.h
|
| +++ b/content/browser/child_process_launcher.h
|
| @@ -13,7 +13,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/process/kill.h"
|
| #include "base/process/process.h"
|
| -#include "base/threading/non_thread_safe.h"
|
| +#include "base/sequence_checker.h"
|
| #include "build/build_config.h"
|
| #include "content/browser/child_process_launcher_helper.h"
|
| #include "content/common/content_export.h"
|
| @@ -52,7 +52,7 @@ static_assert(static_cast<int>(LAUNCH_RESULT_START) >
|
| // Launches a process asynchronously and notifies the client of the process
|
| // handle when it's available. It's used to avoid blocking the calling thread
|
| // on the OS since often it can take > 100 ms to create the process.
|
| -class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
|
| +class CONTENT_EXPORT ChildProcessLauncher {
|
| public:
|
| class CONTENT_EXPORT Client {
|
| public:
|
| @@ -172,6 +172,8 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
|
|
|
| scoped_refptr<internal::ChildProcessLauncherHelper> helper_;
|
|
|
| + SEQUENCE_CHECKER(sequence_checker_);
|
| +
|
| base::WeakPtrFactory<ChildProcessLauncher> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ChildProcessLauncher);
|
|
|