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 CHROME_BROWSER_PROCESS_SINGLETON_H_ | 5 #ifndef CHROME_BROWSER_PROCESS_SINGLETON_H_ |
6 #define CHROME_BROWSER_PROCESS_SINGLETON_H_ | 6 #define CHROME_BROWSER_PROCESS_SINGLETON_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
11 #include <windows.h> | 11 #include <windows.h> |
12 #endif // defined(OS_WIN) | 12 #endif // defined(OS_WIN) |
13 | 13 |
14 #include <set> | 14 #include <set> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/basictypes.h" | |
18 #include "base/callback.h" | 17 #include "base/callback.h" |
19 #include "base/command_line.h" | 18 #include "base/command_line.h" |
20 #include "base/files/file_path.h" | 19 #include "base/files/file_path.h" |
21 #include "base/logging.h" | 20 #include "base/logging.h" |
| 21 #include "base/macros.h" |
22 #include "base/memory/ref_counted.h" | 22 #include "base/memory/ref_counted.h" |
23 #include "base/process/process.h" | 23 #include "base/process/process.h" |
24 #include "base/threading/non_thread_safe.h" | 24 #include "base/threading/non_thread_safe.h" |
25 #include "ui/gfx/native_widget_types.h" | 25 #include "ui/gfx/native_widget_types.h" |
26 | 26 |
27 #if defined(OS_POSIX) && !defined(OS_ANDROID) | 27 #if defined(OS_POSIX) && !defined(OS_ANDROID) |
28 #include "base/files/scoped_temp_dir.h" | 28 #include "base/files/scoped_temp_dir.h" |
29 #endif | 29 #endif |
30 | 30 |
31 #if defined(OS_WIN) | 31 #if defined(OS_WIN) |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // Helper class for linux specific messages. LinuxWatcher is ref counted | 174 // Helper class for linux specific messages. LinuxWatcher is ref counted |
175 // because it posts messages between threads. | 175 // because it posts messages between threads. |
176 class LinuxWatcher; | 176 class LinuxWatcher; |
177 scoped_refptr<LinuxWatcher> watcher_; | 177 scoped_refptr<LinuxWatcher> watcher_; |
178 #endif | 178 #endif |
179 | 179 |
180 DISALLOW_COPY_AND_ASSIGN(ProcessSingleton); | 180 DISALLOW_COPY_AND_ASSIGN(ProcessSingleton); |
181 }; | 181 }; |
182 | 182 |
183 #endif // CHROME_BROWSER_PROCESS_SINGLETON_H_ | 183 #endif // CHROME_BROWSER_PROCESS_SINGLETON_H_ |
OLD | NEW |