OLD | NEW |
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 #ifndef CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "build/build_config.h" |
17 #include "content/public/browser/browser_child_process_host_delegate.h" | 18 #include "content/public/browser/browser_child_process_host_delegate.h" |
18 #include "content/public/browser/utility_process_host.h" | 19 #include "content/public/browser/utility_process_host.h" |
19 | 20 |
20 namespace base { | 21 namespace base { |
21 class SequencedTaskRunner; | 22 class SequencedTaskRunner; |
22 class Thread; | 23 class Thread; |
23 } | 24 } |
24 | 25 |
25 namespace content { | 26 namespace content { |
26 class BrowserChildProcessHostImpl; | 27 class BrowserChildProcessHostImpl; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 116 |
116 // Used to vend weak pointers, and should always be declared last. | 117 // Used to vend weak pointers, and should always be declared last. |
117 base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_; | 118 base::WeakPtrFactory<UtilityProcessHostImpl> weak_ptr_factory_; |
118 | 119 |
119 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl); | 120 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl); |
120 }; | 121 }; |
121 | 122 |
122 } // namespace content | 123 } // namespace content |
123 | 124 |
124 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ | 125 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ |
OLD | NEW |