|
Loads local resources from current locale subtree if available, if not it falls back to extension subtree.
We look for ext_root/foo/bar.js under ext_root/_locales/fr/foo/bar.js if current locale is fr. If there is no fr specific resource we load ext_root/foo/bar.js instead.
Lots of small refactoring to replace FilePath with ExtensionResource.
BUG= 12131
TEST=See unittest for sample tree.
Total comments: 6
Total comments: 22
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+404 lines, -515 lines) |
Patch |
|
M |
chrome/browser/extensions/crx_installer.cc
|
View
|
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/execute_code_in_tab_function.h
|
View
|
3
4
5
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/execute_code_in_tab_function.cc
|
View
|
3
4
5
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
MM |
chrome/browser/extensions/extension_disabled_infobar_delegate.cc
|
View
|
3
4
5
|
4 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_file_util.cc
|
View
|
3
4
5
|
5 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_l10n_util.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_l10n_util.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_l10n_util_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_protocols.cc
|
View
|
3
4
5
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extensions_service_unittest.cc
|
View
|
3
4
5
|
1 chunk |
+6 lines, -12 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extensions_ui.cc
|
View
|
3
4
5
|
2 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/extensions/file_reader.h
|
View
|
|
2 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/extensions/file_reader.cc
|
View
|
4
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/extensions/file_reader_unittest.cc
|
View
|
|
4 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/extensions/image_loading_tracker.h
|
View
|
|
3 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/extensions/image_loading_tracker.cc
|
View
|
4
|
6 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/user_script_master.cc
|
View
|
3
4
5
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
chrome/browser/gtk/location_bar_view_gtk.h
|
View
|
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/gtk/location_bar_view_gtk.cc
|
View
|
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/image_loading_tracker.h
|
View
|
3
4
5
|
1 chunk |
+0 lines, -72 lines |
0 comments
|
Download
|
|
M |
chrome/browser/image_loading_tracker.cc
|
View
|
3
4
5
|
1 chunk |
+0 lines, -114 lines |
0 comments
|
Download
|
|
M |
chrome/browser/net/file_reader.h
|
View
|
3
4
5
|
1 chunk |
+0 lines, -39 lines |
0 comments
|
Download
|
|
M |
chrome/browser/net/file_reader.cc
|
View
|
3
4
5
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
|
M |
chrome/browser/net/file_reader_unittest.cc
|
View
|
3
4
5
|
1 chunk |
+0 lines, -92 lines |
0 comments
|
Download
|
|
M |
chrome/browser/views/browser_actions_container.cc
|
View
|
3
4
5
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/views/location_bar_view.h
|
View
|
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/views/location_bar_view.cc
|
View
|
3
4
5
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/chrome.gyp
|
View
|
3
4
5
|
7 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension.h
|
View
|
3
4
5
|
3 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+13 lines, -39 lines |
0 comments
|
Download
|
|
A |
chrome/common/extensions/extension_resource.h
|
View
|
3
4
5
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/common/extensions/extension_resource.cc
|
View
|
3
4
|
1 chunk |
+100 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/common/extensions/extension_resource_unittest.cc
|
View
|
3
4
5
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/extension_unittest.cc
|
View
|
3
4
5
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/user_script.h
|
View
|
3
4
5
|
3 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/user_script_unittest.cc
|
View
|
4
5
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|