| 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> // NOLINT | 5 #include <windows.h> // NOLINT |
| 6 #include <shlwapi.h> // NOLINT | 6 #include <shlwapi.h> // NOLINT |
| 7 #include <stddef.h> |
| 7 #include <userenv.h> // NOLINT | 8 #include <userenv.h> // NOLINT |
| 8 | 9 |
| 9 #include "chrome/app/main_dll_loader_win.h" | 10 #include "chrome/app/main_dll_loader_win.h" |
| 10 | 11 |
| 11 #include "base/base_paths.h" | 12 #include "base/base_paths.h" |
| 12 #include "base/base_switches.h" | 13 #include "base/base_switches.h" |
| 13 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 14 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 15 #include "base/environment.h" | 16 #include "base/environment.h" |
| 16 #include "base/files/memory_mapped_file.h" | 17 #include "base/files/memory_mapped_file.h" |
| 17 #include "base/lazy_instance.h" | 18 #include "base/lazy_instance.h" |
| 18 #include "base/logging.h" | 19 #include "base/logging.h" |
| 20 #include "base/macros.h" |
| 19 #include "base/memory/scoped_ptr.h" | 21 #include "base/memory/scoped_ptr.h" |
| 20 #include "base/path_service.h" | 22 #include "base/path_service.h" |
| 21 #include "base/strings/string16.h" | 23 #include "base/strings/string16.h" |
| 22 #include "base/strings/string_util.h" | 24 #include "base/strings/string_util.h" |
| 23 #include "base/strings/stringprintf.h" | 25 #include "base/strings/stringprintf.h" |
| 24 #include "base/strings/utf_string_conversions.h" | 26 #include "base/strings/utf_string_conversions.h" |
| 25 #include "base/threading/platform_thread.h" | 27 #include "base/threading/platform_thread.h" |
| 26 #include "base/trace_event/trace_event.h" | 28 #include "base/trace_event/trace_event.h" |
| 27 #include "base/win/metro.h" | 29 #include "base/win/metro.h" |
| 28 #include "base/win/scoped_handle.h" | 30 #include "base/win/scoped_handle.h" |
| (...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 } | 398 } |
| 397 }; | 399 }; |
| 398 | 400 |
| 399 MainDllLoader* MakeMainDllLoader() { | 401 MainDllLoader* MakeMainDllLoader() { |
| 400 #if defined(GOOGLE_CHROME_BUILD) | 402 #if defined(GOOGLE_CHROME_BUILD) |
| 401 return new ChromeDllLoader(); | 403 return new ChromeDllLoader(); |
| 402 #else | 404 #else |
| 403 return new ChromiumDllLoader(); | 405 return new ChromiumDllLoader(); |
| 404 #endif | 406 #endif |
| 405 } | 407 } |
| OLD | NEW |