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 "webkit/support/platform_support.h" | 5 #include "webkit/support/platform_support.h" |
6 | 6 |
7 #include "base/base_paths.h" | 7 #include "base/base_paths.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/logging.h" | 10 #include "base/logging.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 return GetRawDataResource(::GetModuleHandle(NULL), key); | 39 return GetRawDataResource(::GetModuleHandle(NULL), key); |
40 } | 40 } |
41 | 41 |
42 } // namespace | 42 } // namespace |
43 | 43 |
44 namespace webkit_support { | 44 namespace webkit_support { |
45 | 45 |
46 // TODO(tkent): Implement some of the followings for platform-dependent tasks | 46 // TODO(tkent): Implement some of the followings for platform-dependent tasks |
47 // such as loading resource. | 47 // such as loading resource. |
48 | 48 |
49 void BeforeInitialize() { | 49 void BeforeInitialize(bool unit_test_mode) { |
50 } | 50 } |
51 | 51 |
52 void AfterInitialize() { | 52 void AfterInitialize(bool unit_test_mode) { |
53 } | 53 } |
54 | 54 |
55 void BeforeShutdown() { | 55 void BeforeShutdown() { |
56 } | 56 } |
57 | 57 |
58 void AfterShutdown() { | 58 void AfterShutdown() { |
59 } | 59 } |
60 | 60 |
61 } // namespace webkit_support | 61 } // namespace webkit_support |
62 | 62 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 return NetResourceProvider(resource_id); | 117 return NetResourceProvider(resource_id); |
118 | 118 |
119 default: | 119 default: |
120 break; | 120 break; |
121 } | 121 } |
122 | 122 |
123 return base::StringPiece(); | 123 return base::StringPiece(); |
124 } | 124 } |
125 | 125 |
126 } // namespace webkit_glue | 126 } // namespace webkit_glue |
OLD | NEW |