Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(698)

Issue 1705009: Changing linux platform for chromeos. (Closed)

Created:
10 years, 8 months ago by dhg
Modified:
9 years, 7 months ago
Reviewers:
zel, M-A Ruel
CC:
chromium-reviews
Visibility:
Public.

Description

Changing linux platform for chromeos. This involved moving platform_util and extension_error_reporter to browser, so that the UIs surrounding them can be in the browser. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=45986

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+229 lines, -691 lines) Patch
M chrome/browser/automation/automation_provider.cc View 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/browser.cc View 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/browser_about_handler.cc View 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/browser_uitest.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/cocoa/about_window_controller.mm View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/diagnostics/recon_diagnostics.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_file.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_manager.cc View 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/download/save_file_manager.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/save_package.cc View 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_browsertests_misc.cc View 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_devtools_browsertests.cc View 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
A + chrome/browser/extensions/extension_error_reporter.h View 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/extensions/extension_error_reporter.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_install_ui.cc View 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_process_manager_unittest.cc View 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_shelf_model_browsertest.cc View 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_updater.cc View 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_updater_unittest.cc View 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extensions_service_unittest.cc View 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extensions_ui.cc View 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/external_protocol_handler.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/about_chrome_dialog.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/first_run_dialog.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/focus_store_gtk.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/tabs/dragged_tab_controller_gtk.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/platform_util.h View 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
A chrome/browser/platform_util_chromeos.cc View 1 chunk +86 lines, -0 lines 1 comment Download
A chrome/browser/platform_util_common_linux.cc View 8 9 1 chunk +83 lines, -0 lines 0 comments Download
A + chrome/browser/platform_util_linux.cc View 2 chunks +1 line, -65 lines 0 comments Download
A + chrome/browser/platform_util_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/platform_util_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profile.cc View 6 7 8 9 10 11 3 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/renderer_host/test/render_view_host_manager_browsertest.cc View 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ssl/ssl_add_cert_handler.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 5 6 7 8 9 10 11 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 5 6 7 8 9 10 11 3 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/views/about_chrome_view.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/infobars/extension_infobar.cc View 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/location_bar/page_action_image_view.cc View 11 2 chunks +1 line, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 5 6 7 8 9 10 11 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/common/extensions/extension.cc View 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
D chrome/common/extensions/extension_error_reporter.h View 5 6 7 8 9 10 11 1 chunk +0 lines, -50 lines 0 comments Download
D chrome/common/extensions/extension_error_reporter.cc View 5 6 7 8 9 10 11 1 chunk +0 lines, -71 lines 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 5 6 7 8 9 10 11 3 chunks +0 lines, -3 lines 0 comments Download
D chrome/common/platform_util.h View 5 6 7 8 9 10 11 1 chunk +0 lines, -51 lines 0 comments Download
M chrome/common/platform_util_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -132 lines 0 comments Download
D chrome/common/platform_util_mac.mm View 5 6 7 8 9 10 11 1 chunk +0 lines, -89 lines 0 comments Download
D chrome/common/platform_util_win.cc View 5 6 7 8 9 10 11 1 chunk +0 lines, -173 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dhg
not 100% thrilled with this implementation, but lemme know if you have suggestions. I keep ...
10 years, 8 months ago (2010-04-27 21:16:03 UTC) #1
zel
this is too #ifdefy for my taste. i would rather split chromeos specific stuff into ...
10 years, 8 months ago (2010-04-27 21:49:50 UTC) #2
dhg
I thought about htat, but there's a bunch of magic in the make files that ...
10 years, 8 months ago (2010-04-27 22:01:19 UTC) #3
zel
You can always explicitly exclude/include certain files for a given platform as well. We have ...
10 years, 8 months ago (2010-04-27 22:05:28 UTC) #4
dhg
seperated out. I can't get the try bots to run tho... On 2010/04/27 22:05:28, zel ...
10 years, 8 months ago (2010-04-28 17:21:08 UTC) #5
dhg
OK, this CL grew a lot. Most of these file changes are involved with the ...
10 years, 7 months ago (2010-04-29 18:27:10 UTC) #6
zel
LGTM
10 years, 7 months ago (2010-04-29 19:41:21 UTC) #7
M-A Ruel
10 years ago (2010-12-13 15:52:54 UTC) #8
http://codereview.chromium.org/1705009/diff/17005/chrome/browser/platform_uti...
File chrome/browser/platform_util_chromeos.cc (right):

http://codereview.chromium.org/1705009/diff/17005/chrome/browser/platform_uti...
chrome/browser/platform_util_chromeos.cc:46: if (ext == ".jpg" ||
Could you create a global constant array instead?

Also it misses frequent extensions like '.jpe' here and '.divx', '.mp2', '.wav'
and whatever god knows for the check around line 68. I'm not sure about mp2
support but mp3 inside a .wav container are also frequent enough. There should
probably be a code path for .swf and .pdf. Content sniffing would probably be a
good idea, if possible.

Powered by Google App Engine
This is Rietveld 408576698