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 "webkit/support/platform_support.h" | 5 #include "webkit/support/platform_support.h" |
6 | 6 |
7 #include "base/android/jni_android.h" | 7 #include "base/android/jni_android.h" |
| 8 #include "base/base_paths_posix.h" |
8 #include "base/file_path.h" | 9 #include "base/file_path.h" |
9 #include "base/file_util.h" | 10 #include "base/file_util.h" |
10 #include "base/logging.h" | 11 #include "base/logging.h" |
11 #include "base/path_service.h" | 12 #include "base/path_service.h" |
12 #include "base/string16.h" | 13 #include "base/string16.h" |
13 #include "base/string_piece.h" | 14 #include "base/string_piece.h" |
14 #include "base/test/test_support_android.h" | 15 #include "base/test/test_support_android.h" |
15 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
16 #include "grit/webkit_resources.h" | 17 #include "grit/webkit_resources.h" |
17 #include "net/android/network_library.h" | 18 #include "net/android/network_library.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 if (!success) | 111 if (!success) |
111 LOG(FATAL) << "Failed reading: " << path.value(); | 112 LOG(FATAL) << "Failed reading: " << path.value(); |
112 } | 113 } |
113 return resize_corner_data; | 114 return resize_corner_data; |
114 } | 115 } |
115 } | 116 } |
116 | 117 |
117 return ResourceBundle::GetSharedInstance().GetRawDataResource( | 118 return ResourceBundle::GetSharedInstance().GetRawDataResource( |
118 resource_id, scale_factor); | 119 resource_id, scale_factor); |
119 } | 120 } |
OLD | NEW |