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

Issue 8588006: Eliminate CrosLibrary::EnsureLoaded (Closed)

Created:
9 years, 1 month ago by stevenjb
Modified:
9 years, 1 month ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, achuith+watch_chromium.org, Erik does not do reviews, kkania, mihaip+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, robertshield, Paweł Hajdan Jr., stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Eliminate CrosLibrary::EnsureLoaded BUG=chromium-os:19886 TEST=All chromeos tests compile and run. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110516

Patch Set 1 #

Patch Set 2 : . #

Total comments: 26

Patch Set 3 : Address review feedback #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -184 lines) Patch
M chrome/browser/automation/automation_provider_observers_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/testing_automation_provider_chromeos.cc View 1 2 19 chunks +0 lines, -63 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/cros/cros_library.h View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/base_login_display_host.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/cryptohome_op.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/eula_screen.cc View 2 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/existing_user_controller.cc View 1 2 3 4 2 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 3 5 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/network_screen.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/online_attempt.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/parallel_authenticator.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/screen_locker.cc View 1 2 3 4 5 6 5 chunks +5 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/login/signed_settings.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/update_screen.cc View 2 chunks +5 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/login/update_screen_browsertest.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/user_manager.cc View 1 2 3 4 5 6 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/chromeos/login/version_info_updater.cc View 1 2 3 4 5 6 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/sms_observer.cc View 1 2 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/user_cros_settings_provider.cc View 4 chunks +2 lines, -11 lines 0 comments Download
M chrome/browser/extensions/extension_info_private_api_chromeos.cc View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/geolocation/wifi_data_provider_chromeos.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/policy/browser_policy_connector.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/browser_list.cc View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc View 3 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/register_page_ui.cc View 1 2 3 4 3 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/about_page_handler.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
stevenjb
We almost always wanted to use libcros_loaded() where we were using EnsureLoaded(), and in some ...
9 years, 1 month ago (2011-11-16 22:59:40 UTC) #1
DaveMoore
lgtm
9 years, 1 month ago (2011-11-16 23:31:22 UTC) #2
satorux1
Thank you for the clean-up. I think libcros_loaded() is unnecessary in many places, or should ...
9 years, 1 month ago (2011-11-16 23:51:34 UTC) #3
stevenjb
http://codereview.chromium.org/8588006/diff/2001/chrome/browser/automation/testing_automation_provider_chromeos.cc File chrome/browser/automation/testing_automation_provider_chromeos.cc (right): http://codereview.chromium.org/8588006/diff/2001/chrome/browser/automation/testing_automation_provider_chromeos.cc#newcode58 chrome/browser/automation/testing_automation_provider_chromeos.cc:58: return true; On 2011/11/16 23:51:34, satorux1 wrote: > Can ...
9 years, 1 month ago (2011-11-17 00:23:33 UTC) #4
satorux1
LGTM. Please include chrome/browser/chromeos/system/runtime_environment.h from files where IsRunningOnChromeOS() is used, as needed.
9 years, 1 month ago (2011-11-17 00:37:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/8588006/4007
9 years, 1 month ago (2011-11-17 08:24:06 UTC) #6
commit-bot: I haz the power
Can't apply patch for file chrome/browser/chromeos/extensions/file_browser_event_router.cc. While running patch -p1 --forward --force; patching file chrome/browser/chromeos/extensions/file_browser_event_router.cc ...
9 years, 1 month ago (2011-11-17 08:24:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/8588006/5007
9 years, 1 month ago (2011-11-17 08:41:19 UTC) #8
commit-bot: I haz the power
Can't apply patch for file chrome/browser/chromeos/extensions/file_browser_event_router.cc. While running patch -p1 --forward --force; patching file chrome/browser/chromeos/extensions/file_browser_event_router.cc ...
9 years, 1 month ago (2011-11-17 08:41:25 UTC) #9
Nikita (slow)
chromeos/login lgtm
9 years, 1 month ago (2011-11-17 11:10:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/8588006/4010
9 years, 1 month ago (2011-11-17 17:05:43 UTC) #11
commit-bot: I haz the power
9 years, 1 month ago (2011-11-17 17:05:55 UTC) #12
Presubmit check for 8588006-4010 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit ERRORS **
Missing LGTM from an OWNER for:
chrome/browser/policy/browser_policy_connector.cc

Presubmit checks took 3.5s to calculate.

Powered by Google App Engine
This is Rietveld 408576698