OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "gfx/gfx_paths.h" | 5 #include "gfx/gfx_paths.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 return true; | 42 return true; |
43 } | 43 } |
44 | 44 |
45 // This cannot be done as a static initializer sadly since Visual Studio will | 45 // This cannot be done as a static initializer sadly since Visual Studio will |
46 // eliminate this object file if there is no direct entry point into it. | 46 // eliminate this object file if there is no direct entry point into it. |
47 void RegisterPathProvider() { | 47 void RegisterPathProvider() { |
48 PathService::RegisterProvider(PathProvider, PATH_START, PATH_END); | 48 PathService::RegisterProvider(PathProvider, PATH_START, PATH_END); |
49 } | 49 } |
50 | 50 |
51 } // namespace gfx | 51 } // namespace gfx |
OLD | NEW |