| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces a bunch of duplicated-per-library cros
function definitions and comments.
BUG=none
TEST=built it
Review URL: http://codereview.chromium.org/6086007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70070 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
a TTS provider.
BUG=none
TEST=Adds new test.
Review URL: http://codereview.chromium.org/4161007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70062 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=23581
TEST=everything still works
Review URL: http://codereview.chromium.org/6037009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69949 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
fixes the includes for cros to use "third_party" so that everything works.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/5854003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69493 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:9790
TEST=Manual. Followed steps in bug to make sure crash no longer happens.
Review URL: http://codereview.chromium.org/5722008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69283 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:8870
TEST=Requires extensive testing of remembered network behavior. Test plan to be added soon.
Review URL: http://codereview.chromium.org/5586010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69270 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This enforces that the Singleton<T> pattern can only be used within classes which want singleton-ness.
As part of this CL I have also fixed up files which got missed in my previous CLs to use a GetInstance() method and use Singleton<T> from the source file.
There are a small number of places where I have also switched to LazyInstance as that was more appropriate for types used in a single source file.
BUG=65298
TEST=all existing tests should continue to pass.
Review URL: http://codereview.chromium.org/5682008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69107 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5676004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69037 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a BrightnessLibrary class that registers to receive
notification of brightness changes from the libcros code
that I added in http://codereview.chromium.org/5640003/,
a BrightnessBubble class to control an onscreen indicator of
the current brightness level, and a BrightnessObserver class
that wires up the two.
This change depends on
http://codereview.chromium.org/5603012/, which pulls the
updated version of libcros into Chrome.
BUG=chromium-os:8473,chromium-os:4816
TEST=built and tried it
Review URL: http://codereview.chromium.org/5620004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68879 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5512009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68323 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:9930
TEST=Log in as owner and connect/disconnect to/from several networks. Confirm the correct ones show up in the remembered networks list.
Review URL: http://codereview.chromium.org/5635001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68180 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:8552
TEST=See issue, but note: networks should only be remembered if the owner is logged in, i.e. 'guest' apples to any non owner login.
Review URL: http://codereview.chromium.org/5278011
TBR=stevenjb@google.com
Review URL: http://codereview.chromium.org/5548005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68073 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This addresses the edge case where the UI gets stuck in a 'scanning' state.
This is possible now that chromium-os:9326 is fixed.
BUG=chromium-os:9448
TEST=See issue
Review URL: http://codereview.chromium.org/5497001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68044 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:9707
TEST=Run browser_tests
From chromium-os:9707:
Currently CrosMock::SetNetworkLibraryStatusAreaExpectations() sets up a host of very specific expectations. These are fragile and difficult to maintain, and they break pretty much every browser test when they become stale.
TODO: Replace these with a minimal set of specific expectations (e.g. just set expectations for *_connected() and *_connecting() calls).
Review URL: http://codereview.chromium.org/5402001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68038 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:9872
TEST=run all chrome os tests with try
Review URL: http://codereview.chromium.org/5529002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67983 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move GetNumActiveInputMethods call from input_method_menu_button.cc to input_method_library.cc so that the IBus function is called only once even when multiple Chrome windows are available.
- Improved InputMethodMenu::InputMethodChanged so that only the first input method button would update Preferences.
- Remove ImePropertiesChanged callback. It's obsolete.
BUG=chromium-os:8553
TEST=manually.
Review URL: http://codereview.chromium.org/4162002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67973 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Listen for extension install events and restart the Enterprise Daemon if an extension was installed, that is from a policy and it contains the policy marker file.
BUG=chromeos:9702
TEST=manual
Review URL: http://codereview.chromium.org/5311007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67847 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a fix for when multiple ethernet services exist (etho0, dummy0, etc).
The code loops through all available services, and if it is of TYPE_ETHERNET,
will assign it as the default service to use. If there are multiple
services of TYPE_ETHERNET, later services in the array will overwrite
earlier ones. If the last service is something without a real
connection (such as dummy0), you will not be able to access the internet.
Also, earlier services are never deleted and will be leaked.
This change will stop reassigning services once a service is created
and has a working connection. It will also delete previous connections
to fix the memory leak.
This fix was originally implemented http://codereview.chromium.org/3027015/
but was removed in http://codereview.chromium.org/4169001/
BUG=chromium-os:9766
TEST=Manual. Check to make sure connecting/disconnecting ethernet works as normal.
Review URL: http://codereview.chromium.org/5289007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67779 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:9207
TEST=Enable mozc and us layout. Enable the screen locker. Close the lid. Open the lid. Check that ibus-daemon is still running.
Review URL: http://codereview.chromium.org/5389002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67512 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:9504
TEST=none
Review URL: http://codereview.chromium.org/5366002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67438 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:9643
TEST=after getting a plan, click on the menu a few times and make sure it always shows how much data left.
Review URL: http://codereview.chromium.org/5337005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67420 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:9623
TEST=see the bug for repro step.
Review URL: http://codereview.chromium.org/5347004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67370 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:8552
TEST=See issue, but note: networks should only be remembered if the owner is nogged in, i.e. 'guest' apples to any non owner login.
Review URL: http://codereview.chromium.org/5278011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67369 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:9100
TEST=See issue. Test repeatedly connecting to a variety of secure and 'other' wifi networks.
Review URL: http://codereview.chromium.org/5303006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67346 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
CellularDataPlan::GetUsageInfo is used for network menu's expiration
label and TimeFormat::TimeRemaining is prefered per chromium-os:9331.
BUG=chromium-os:9331
TEST=Verify fix for chromium-os:9331
Review URL: http://codereview.chromium.org/5221004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67176 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
TBR=stevenjb@chromium.org
Review URL: http://codereview.chromium.org/5310002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67053 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=satorux
BUG=none
TEST=bbots are happy place again
Review URL: http://codereview.chromium.org/5126006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66928 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://codereview.chromium.org/5217004/:
Switch to using network connectivity_state, which replaces restricted_pool.
BUG=chromium-os:9228
TEST=starting from a partially activated state, tried to activate,
and saw that the browser navigated to the payment portal. Also
monitored the chrome log and verified that chrome was seeing the
connectivity state change to "restricted".
Review URL: http://codereview.chromium.org/5112009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66926 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Fix 3g data expiration crash.
BUG=chromium-os:9388
TEST=manual
Review URL: http://codereview.chromium.org/5197002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66826 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Also, keep the connect dialog up after an immediate conenction failure (e.g. due to an invalid password format)
BUG=chromium-os:8566
TEST=See issue. Also, test conencting to network with a combination of good / bad passwords in general. Note: the only way currently to re-enter the passphrase for a successfully remembered network is to forget it, log out, and log back in.
Review URL: http://codereview.chromium.org/5160004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66698 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:4982
TEST=Network menu should say 'scanning' above the 'disable wi-fi' option while networks are scanned after opening the menu.
Review URL: http://codereview.chromium.org/5230002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66689 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=None
TBR=stevenjb@chromium.org
Review URL: http://codereview.chromium.org/5209002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66565 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
propertly causing ethernet icon to get stuck.
BUG=chromium-os:8785
TEST=manual. connect to both ethernet and wifi. unplug ethernet usb dongle. verify that the network icon when from wired to wireless.
Review URL: http://codereview.chromium.org/5194002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66558 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:8618
TEST=Manual
Review URL: http://codereview.chromium.org/5142002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66475 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original CL was:
http://codereview.chromium.org/4818002
which missed a unittest fix, and the commit(r66253) was reverted (r66258).
Changed
chrome/browser/chromeos/options/wifi_config_view_browsertest.cc
and network_library.h.
BUG=chromium-os:8193
TEST=manually open chrome://settings/internet and see if remembered networks are listed properly. For DOMUI network menu, pass --enable-domui-menu for chrome to enable and check. Also check browser_test --gtest_filter="WifiConfigViewTest.ChangeAutoConnectSaveTest"
Review URL: http://codereview.chromium.org/5094002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66411 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5104002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66401 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
For example, if Google-A is not configure, it will be disabled in the network menu and not selectable in the options pages. And from oobe/login, Google-A will always be disabled b/c the certificates will not be there until the user logs in.
BUG=chromium-os:8293
TEST=Manual. From oobe, make sure google-a is disabled. Before setting up google-a, make sure google-a is disabled in network menu and options pages. Then set up google-a and see that it's now enabled in both network menu and options page. Log out and check that google-a is disabled.
Review URL: http://codereview.chromium.org/4976007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66356 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 2a5da02ef3fec8da1f223dd1990fb0b56d617188 / r66253:
Fix favorite and auto_connect property usage. BUG=chromium-os:8913 TEST=manually open chrome://settings/internet and see if remembered networks are listed properly. For DOMUI network menu, pass --enable-domui-menu for chrome to enable and check. Review URL: http://codereview.chromium.org/4818002
It broke the ChromeOS and arm compiles with:
chrome/browser/chromeos/options/wifi_config_view_browsertest.cc:44: error: ‘class chromeos::WifiNetwork’ has no member named ‘set_favorite’
TBR=kochi
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66258 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:8913
TEST=manually open chrome://settings/internet and see if remembered networks are listed properly. For DOMUI network menu, pass --enable-domui-menu for chrome to enable and check.
Review URL: http://codereview.chromium.org/4818002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66253 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to properly
redirect to partner payment portal when we run out of plan. Changed usage notification
to display "More info..." instead of "Buy plan".
BUG=chromium-os:8745, chromium-os:8724, chromium-os:8853, chromium-os:8685
TEST=see listed bugs for details
Review URL: http://codereview.chromium.org/4699004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66039 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, full sync for the owner leads to ownership loss. This CL
disables full sync radio button in the view, that appears when password
was changed.
BUG=chromium-os:8630
TEST=Login to device. Log out. Change user password in Guest Session.
Try to login again. In the showed window notice, that full sync options
is grayed out.
Review URL: http://codereview.chromium.org/4699001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65823 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't show separator at begining of network list
- Don't show join other network when wifi is disabled
- Don't show IP address in OOBE network dropdown list
- Don't show unactivated cellular networks in OOBE/login
- Various fixes to make network menus more robust
BUG=chromium-os:8672,chromium-os:8792,chromium-os:8980
TEST=manually ran through all iterations to make sure that the network menu list looks right.
Review URL: http://codereview.chromium.org/4677003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65692 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Send sync request to flimflam only if new request didn't come in 50ms.
Network menu was updating menu twice when opening.
BUG=chromium-os:8435
TEST=manual: enable vlog (--vlog=1) and observe that chrome log reports
one "UpdateNetworkStatus" when network changes (disable, enable ethernet etc)
There may be two when wifi is enabled as different wifi source may be
recognized at different timing.
Review URL: http://codereview.chromium.org/4229005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65478 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This includes some NetworkMenu refactoring to reduce code duplication.
BUG=http://code.google.com/p/chromium-os/issues/detail?id=8594
TEST=Test network menu, particularly failed connection attempts.
Review URL: http://codereview.chromium.org/4598002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65428 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:8864
TEST=none
Review URL: http://codereview.chromium.org/4690002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65405 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:8476
TEST=Open the network menu on ChromeOS; the IP address should be at the bottom of the menu.
Review URL: http://codereview.chromium.org/4544001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65398 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:8733
TEST=Quit from a ChromeOS device with a cellular network enabled; confirm that Chrome does not crash.
Review URL: http://codereview.chromium.org/4507001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65144 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added handling of network ("service" in flimflam parlance) property changes.
NetworkLibrary updates its Network objects in response to property changes,
then calls any NetworkObservers that have registered for the given network.
Use the is_active member of Network in various places to ensure that we are
dealing with the correct network.
Created separate observer classes for NetworkManager, Network, and
CellularDataPlan, so that monitors can be established independently for each
of them. Changed the callback method names to prepend "On", i.e.,
OnNetworkManagerChanged, OnNetworkChanged, OnCellularDataPlanChanged.
Wired up signal strength update and network technology update in the status
bar, network dropdown menu, and internet settings page.
Added new icon badges for 1xRTT radio technology. These are used when EVDO
coverage switches to 1xRTT. Just as is the case for the 3G icons, there are
three 1x icons: normal, warn, and error. Please consider these icons to be
placeholders if the UI folks think they need to be redesigned.
Centralized choosing of the network technology badge in
NetworkMenu::BadgeForNetworkTechnology.
BUG=chromium-os:5612:chromium-os:7619,chromium-os:5917,chromium-os:4674
TEST=Extensive manual testing with different combinations of wi-fi and
cellular networks connected and disconnected. Used a modified version
of flimflam that randomly changes reported signal strength, network
technology, and roaming state, and verified that the UI correctly reflected
current values for the active network (roaming is not handled in the UI
at this time).
Review URL: http://codereview.chromium.org/4482003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65106 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
jglasgow@chromium.org:
Change the libcros API for cellular data plans keep all memory
allocation and deletion within libcros.
BUG=chromium-os:8297
TEST=ad hoc
Review URL: http://codereview.chromium.org/4270004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65073 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added handling of network ("service" in flimflam parlance) property changes.
NetworkLibrary updates its Network objects in response to property changes,
then calls any NetworkObservers that have registered for the given network.
Use the is_active member of Network in various places to ensure that we are
dealing with the correct network.
Created separate observer classes for NetworkManager, Network, and
CellularDataPlan, so that monitors can be established independently for each
of them. Changed the callback method names to prepend "On", i.e.,
OnNetworkManagerChanged, OnNetworkChanged, OnCellularDataPlanChanged.
Wired up signal strength update and network technology update in the status
bar, network dropdown menu, and internet settings page.
Added new icon badges for 1xRTT radio technology. These are used when EVDO
coverage switches to 1xRTT. Just as is the case for the 3G icons, there are
three 1x icons: normal, warn, and error. Please consider these icons to be
placeholders if the UI folks think they need to be redesigned.
Centralized choosing of the network technology badge in
NetworkMenu::BadgeForNetworkTechnology.
BUG=chromium-os:5612:chromium-os:7619,chromium-os:5917,chromium-os:4674
TEST=Extensive manual testing with different combinations of wi-fi and
cellular networks connected and disconnected. Used a modified version
of flimflam that randomly changes reported signal strength, network
technology, and roaming state, and verified that the UI correctly reflected
current values for the active network (roaming is not handled in the UI
at this time).
Review URL: http://codereview.chromium.org/4235005
TBR=chocobo@chromium.org
Review URL: http://codereview.chromium.org/4229006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64889 0039d316-1c4b-4281-b951-d872f2087c98
|