- 06 Aug, 2014 40 commits
-
-
chromeos-lkgm@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287718 0039d316-1c4b-4281-b951-d872f2087c98
-
ricea@chromium.org authored
Broken official Windows builder: http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/25818 > Add integration browser tests for settings hardening. > > This CL introduces the PrefHashBrowserTestBase fixture which these tests are based on. > > This fixture (in conjunction with the new PREF_HASH_BROWSER_TEST macro) provides an easy way to override 3 methods in order to: > 1) Setup Chrome as desired in a PRE_ test. > 2) Attack Preferences while Chrome isn't running. > 3) Relaunch Chrome and verify reaction to attacks. > > The fixture+macro also parametrizes every test such that they are ran in every SettingsEnforcement trial group. > > A few pieces were resurrected from the old PrefHashBrowserTest used to test unloaded profile seeding prior to http://crrev.com/277209 > > Review URL: https://codereview.chromium.org/431973002 TBR=gab@chromium.org,erikwright@chromium.org Review URL: https://codereview.chromium.org/448563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287717 0039d316-1c4b-4281-b951-d872f2087c98
-
eakuefner@chromium.org authored
This CL adds a method FromDict for converting deserialized JSON dicts to values. Review URL: https://codereview.chromium.org/417193005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287716 0039d316-1c4b-4281-b951-d872f2087c98
-
peria@chromium.org authored
BUG=347425 TEST=./unit_tests --gtest_filter="Metadata*" Review URL: https://codereview.chromium.org/423433006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287715 0039d316-1c4b-4281-b951-d872f2087c98
-
eroman@chromium.org authored
For functions in BoringSSL where X() is guaranteed to return either 1 or 0. Review URL: https://codereview.chromium.org/444793003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287714 0039d316-1c4b-4281-b951-d872f2087c98
-
boliu@chromium.org authored
Track UI and other threads differently in requesting DrawGL. The request itself is posted through UI thread, so not tracking them separately can lead to deadlocks. See bug for more detail. BUG=399745 Review URL: https://codereview.chromium.org/431383003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287713 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
BUG=399030 Review URL: https://codereview.chromium.org/441133003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287712 0039d316-1c4b-4281-b951-d872f2087c98
-
kkimlabs@chromium.org authored
The newest Android SDK had start&end attributes in non -v17 resources. Temporarily change the checking script from error to warning so that people can continue to work before it is fixed. This should be reverted once the issue is addressed BUG=None Review URL: https://codereview.chromium.org/445753002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287711 0039d316-1c4b-4281-b951-d872f2087c98
-
vmpstr@chromium.org authored
This patch ensures that we clear the existing tile priorities when the tiling is reset. R=reveman Review URL: https://codereview.chromium.org/441033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287710 0039d316-1c4b-4281-b951-d872f2087c98
-
chrishenry@google.com authored
This will fix log parsing error on bot. BUG=397746 Review URL: https://codereview.chromium.org/440243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287709 0039d316-1c4b-4281-b951-d872f2087c98
-
tapted@chromium.org authored
The ui_controls_aura implementations either dispatch events via aura::Window::GetHost() (which first does GetRootWindow()), find the root window independently, or else ignore the window argument. So the GetRootWindow call is not required here. BUG=399191 Review URL: https://codereview.chromium.org/442633003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287708 0039d316-1c4b-4281-b951-d872f2087c98
-
tapted@chromium.org authored
This is done by using the cross-platform EventGenerator to craft and dispatch test events. BUG=399191 Review URL: https://codereview.chromium.org/444493005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287707 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
Review URL: https://codereview.chromium.org/441593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287706 0039d316-1c4b-4281-b951-d872f2087c98
-
tmdiep@chromium.org authored
Ephemeral apps are unloaded and disabled after they stop running to ensure that they have no background activity while they are cached. The event router, message service and message center no longer need special handling for idle ephemeral apps. BUG=339001,358052 TEST=browser_tests TBR=dewittj@chromium.org (for removal of code in message_center_settings_controller.cc) Review URL: https://codereview.chromium.org/344543006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287705 0039d316-1c4b-4281-b951-d872f2087c98
-
fmeawad@chromium.org authored
If the QPC value is less than 44 bits, it is safe to multiply by a 20 bits value (1000000) without risking overflow. This optimization reduces the call time by half. BUG=158234 Review URL: https://codereview.chromium.org/429743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287704 0039d316-1c4b-4281-b951-d872f2087c98
-
chrishenry@google.com authored
page_test.py. Fixed all files that refer to MeasurementFailure in this patch. Rest of subclasses of PageMeasurement will be fixed in a follow up patch. BUG=383635 Review URL: https://codereview.chromium.org/434443003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287703 0039d316-1c4b-4281-b951-d872f2087c98
-
michaelpg@chromium.org authored
The window title should be "Settings - Keyboard settings", but that prefix is missing. This doesn't change the title display within the overlay itself ("Keyboard settings"). R=stevenjb@chromium.org Review URL: https://codereview.chromium.org/442583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287702 0039d316-1c4b-4281-b951-d872f2087c98
-
jbudorick@chromium.org authored
BUG= Review URL: https://codereview.chromium.org/441023002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287701 0039d316-1c4b-4281-b951-d872f2087c98
-
rjshade@chromium.org authored
Move construction of flow_controller_ to QuicSession constructor to avoid streams being initialized with a NULL ptr. BUG= Review URL: https://codereview.chromium.org/442943002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287700 0039d316-1c4b-4281-b951-d872f2087c98
-
danakj@chromium.org authored
This removes the setting entirely since it's always true in production. Once we stop setting it, we can remove it from blink. BUG=365857 Review URL: https://codereview.chromium.org/443573004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287699 0039d316-1c4b-4281-b951-d872f2087c98
-
holte@chromium.org authored
BUG=400553 Review URL: https://codereview.chromium.org/419683014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287698 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287697 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
$ git log 9755ed384..bbf1fcca7 --date=short --format='%ad %ae %s' | sed 's/@chromium\.org//' 2014-08-05 maruel Improve the load test script. 2014-08-04 maruel Fix a secondary exception when an error occurs to delete a directory. 2014-08-01 maruel Save client json data on the fly as the load test is on-going. R=csharp@chromium.org BUG= Review URL: https://codereview.chromium.org/442063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287696 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
This will be used by Android Chrome to register external experiments. BUG=400357 Review URL: https://codereview.chromium.org/440693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287695 0039d316-1c4b-4281-b951-d872f2087c98
-
asvitkine@chromium.org authored
BUG=394855 Review URL: https://codereview.chromium.org/438163004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287694 0039d316-1c4b-4281-b951-d872f2087c98
-
vmpstr@chromium.org authored
Since we create and rasterize mask and replica layer tiles as well, we need to ensure that they get the DidBecomeActive signal in order to ensure the tile priorities of the contained tiles are correct. (DidBecomeActive switches active and pending priorities and clears the pending priority). Without this, there are cases where the pending priority can remain high without any mechanism clearing it. BUG=400560 R=enne Review URL: https://codereview.chromium.org/441863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287693 0039d316-1c4b-4281-b951-d872f2087c98
-
liyanhou@chromium.org authored
Add a basic browser test for functions in notification provider API. This is mainly to test the connection and provide a skeleton for future tests. The functions are not fully implemented yet, and more tests will be added as the functions are implemented. BUG= Review URL: https://codereview.chromium.org/416423006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287692 0039d316-1c4b-4281-b951-d872f2087c98
-
oshima@chromium.org authored
Home Card will be minimized when an activity is activated, so don't re-activate home card. There is also no need to activate bottom home card, so activate the centered home card only. BUG=400575 Review URL: https://codereview.chromium.org/435293003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287691 0039d316-1c4b-4281-b951-d872f2087c98
-
nednguyen@google.com authored
BUG=396403 Review URL: https://codereview.chromium.org/432473002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287690 0039d316-1c4b-4281-b951-d872f2087c98
-
gab@chromium.org authored
This CL introduces the PrefHashBrowserTestBase fixture which these tests are based on. This fixture (in conjunction with the new PREF_HASH_BROWSER_TEST macro) provides an easy way to override 3 methods in order to: 1) Setup Chrome as desired in a PRE_ test. 2) Attack Preferences while Chrome isn't running. 3) Relaunch Chrome and verify reaction to attacks. The fixture+macro also parametrizes every test such that they are ran in every SettingsEnforcement trial group. A few pieces were resurrected from the old PrefHashBrowserTest used to test unloaded profile seeding prior to http://crrev.com/277209 Review URL: https://codereview.chromium.org/431973002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287689 0039d316-1c4b-4281-b951-d872f2087c98
-
vmpstr@chromium.org authored
This patch removes vectors from the eviction tile iterator at the layer level. It reworks the code a bit to use the underlying layer's tilings directly using indecies and ranges, instead of constructing a separate vector to hold the values. As well, this ensures that the iterators are only created when they are visited. R=reveman Review URL: https://codereview.chromium.org/428533008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287688 0039d316-1c4b-4281-b951-d872f2087c98
-
xhwang@chromium.org authored
There is a chance that the Demuxer calls host_->OnDemuxerError() right before Stop() is called. The Pipeline always posts a ErrorChangedTask() for OnDemuxerError() with base::Retained(this). After the Demuxer fires the stop callback, the Pipeline could be destroyed immediately. So If the media thread hasn't been destroyed we could end up with running ErrorChangedTask() on null pipeline which causes a crash. This CL uses a weak pointer for DemuxerHost calls so that no task will run after the pipeline is destroyed. BUG=397656, 399417, 365141 TEST=Updated unit tests to cover this case. R=scherkus@chromium.org Review URL: https://codereview.chromium.org/423073012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287687 0039d316-1c4b-4281-b951-d872f2087c98
-
hongbo.min@intel.com authored
Forward the boolean flag indicating if the resource is lost and let canvas handle how to handle the lost resource, not simply ignore to call mailboxReleased. BUG=390960 Review URL: https://codereview.chromium.org/369823002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287686 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287685 0039d316-1c4b-4281-b951-d872f2087c98
-
mlerman@chromium.org authored
Move avatar_menu to disable-enable flag. A future CL will set the default behavior to be new_avatar_menu=enabled. BUG=391497 TBR=davemoore@chromium.org (changes are very minor and are in unit tests) Review URL: https://codereview.chromium.org/431083003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287684 0039d316-1c4b-4281-b951-d872f2087c98
-
derat@chromium.org authored
Needed to fix libppGoogleNaClPluginChrome.so breakage. BUG=394497 R=vapier@chromium.org TBR=teravest@chromium.org, vapier@chromium.org Review URL: https://codereview.chromium.org/445833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287683 0039d316-1c4b-4281-b951-d872f2087c98
-
peter@chromium.org authored
The message center already does this for notifications with a higher priority than the notification they replace, but this makes it explicit for Web Notifications (which cannot indicate priority). TBR=dewittj (reviewed in cl 301713002) BUG=366102 Review URL: https://codereview.chromium.org/439073002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287682 0039d316-1c4b-4281-b951-d872f2087c98
-
jeremycho@chromium.org authored
Update the contextual search API to include a parameter specifying whether the server shoudl return a resolved search term. BUG=397734,397738 Review URL: https://codereview.chromium.org/424013002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287681 0039d316-1c4b-4281-b951-d872f2087c98
-
tim@chromium.org authored
Each application <> shell connection is represented by a ShellImpl instance on the shell side. This CL makes the Application watch its ShellPtr for pipe errors so it can Quit() itself if the shell goes away (shell loop destroyed). mojo_shell_tests starts using a new method to terminate all shell connections in this CL, and waits afterward until KeepAlive quits the loop signifying that all apps are gone. This is done prior to destroying the shell MessageLoop so that the test ensures apps have all died before the next test. In the future it would be a test failure if this wasn't a no-op, but we have things in the shell that don't quit themselves right now. The shell itself won't wait around for apps to die (as of this CL), but ~MessageLoop will still send the message to Application sides that will quit. ** NOTE ** This does not require an app build target to explicitly add magic *.cc files to their sources. It requires selecting an appropriate mojo_application_{chromium, standalone} library akin to mojo_environment_*. We can possibly combine these two in the future. BUG=394477 Review URL: https://codereview.chromium.org/394903005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287680 0039d316-1c4b-4281-b951-d872f2087c98
-
ivandavid@chromium.org authored
NOTRY=true BUG=388517 Review URL: https://codereview.chromium.org/432133002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287678 0039d316-1c4b-4281-b951-d872f2087c98
-