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 #include <windows.h> | 5 #include <windows.h> |
6 #include <shlwapi.h> | 6 #include <shlwapi.h> |
7 | 7 |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/debug/trace_event.h" | |
11 #include "base/environment.h" | 10 #include "base/environment.h" |
12 #include "base/file_version_info.h" | 11 #include "base/file_version_info.h" |
13 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
14 #include "base/logging.h" | 13 #include "base/logging.h" |
15 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
16 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
17 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
18 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
19 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
| 19 #include "base/trace_event/trace_event.h" |
20 #include "base/version.h" | 20 #include "base/version.h" |
21 #include "base/win/scoped_handle.h" | 21 #include "base/win/scoped_handle.h" |
22 #include "base/win/windows_version.h" | 22 #include "base/win/windows_version.h" |
23 #include "chrome/app/chrome_crash_reporter_client.h" | 23 #include "chrome/app/chrome_crash_reporter_client.h" |
24 #include "chrome/app/chrome_watcher_command_line_win.h" | 24 #include "chrome/app/chrome_watcher_command_line_win.h" |
25 #include "chrome/app/client_util.h" | 25 #include "chrome/app/client_util.h" |
26 #include "chrome/app/image_pre_reader_win.h" | 26 #include "chrome/app/image_pre_reader_win.h" |
27 #include "chrome/chrome_watcher/chrome_watcher_main_api.h" | 27 #include "chrome/chrome_watcher/chrome_watcher_main_api.h" |
28 #include "chrome/common/chrome_constants.h" | 28 #include "chrome/common/chrome_constants.h" |
29 #include "chrome/common/chrome_result_codes.h" | 29 #include "chrome/common/chrome_result_codes.h" |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 } | 290 } |
291 }; | 291 }; |
292 | 292 |
293 MainDllLoader* MakeMainDllLoader() { | 293 MainDllLoader* MakeMainDllLoader() { |
294 #if defined(GOOGLE_CHROME_BUILD) | 294 #if defined(GOOGLE_CHROME_BUILD) |
295 return new ChromeDllLoader(); | 295 return new ChromeDllLoader(); |
296 #else | 296 #else |
297 return new ChromiumDllLoader(); | 297 return new ChromiumDllLoader(); |
298 #endif | 298 #endif |
299 } | 299 } |
OLD | NEW |