- 30 Oct, 2011 5 commits
-
-
sadrul@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/8414048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107900 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-release@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107897 0039d316-1c4b-4281-b951-d872f2087c98
-
jar@chromium.org authored
This is a re-land of: http://codereview.chromium.org/8391019/ Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107793 Original landing had trouble with message_loop_x.h, due to header include ordering. I pulled out the structure that was really needed by tracked_objects.h into a new file tracked_info.*. This allows tracked_objects to inlude this tracked_info, but not have to include the message_loop.h totality. I also removed a DCHECK that that was triggering on a test, and added yet one more file (browser_main.cc) where I removed a #ifdef for TRACKING_ALL_OBJECTS. The changes were minor, and I'm hoping to get clear perf runs with tihs landing, so I'm going to TBR it and reland early in the morning. Comments from original landing: Support is now controlled by the flag: --enable-tracking and the default is always on. To turn it off, use: --enable-tracking=0 All profiler code is compiled now in release and official builds (in addition to debug, where it was already active), but most entry points can be disabled (turned into no-ops) by a single const bool setting atop tracked_objects.cc (in case folks want to revert the perf-impact of this change). Transition to faster Now() service on Windows for the profiler use only. The TimeTicks::Now() function on Window uses locking to get a 64 bit time value. This CL transitions times used for profiling to more directly use a 32 bit Time interface, which is actually what drives the 64 bit TimeTicks. By using the smaller value, we avoid the need for locks, or even atomic operations for the most part in the tracking system. On linux, we just down-sample the standard TimeTicks to 32 bits for consistency (clean ability to snapshot asyncronously without atomics... but I should verify that such is helpful to performance). I've also put in yet more cleanup and refactoring. tbr=rtenneti bug=101856 Review URL: http://codereview.chromium.org/8414036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107895 0039d316-1c4b-4281-b951-d872f2087c98
-
qghc36@motorola.com authored
According to this change, Delete button will be disabled when there are multiple profiles and none of the profiles is selected. If profile list is hidden i.e if there is only one default profile then Delete Button is also disabled. BUG=100625 TEST='Delete...' button should be disabled when no profile is selected in chrome://settings/personal page. Review URL: http://codereview.chromium.org/8339014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107894 0039d316-1c4b-4281-b951-d872f2087c98
-
mrossetti@chromium.org authored
1. Encapsulate the private, persistent data for the InMemoryURLIndex in a new class, URLIndexPrivateData (found in in_memory_url_index_types.h). 2. Move most of the support types, including the new URLIndexPrivateData class, into in_memory_url_index_types.h. 3. Correctly handle the adding and removing of page title words when a URL change is detected. 4. Replace static class member functions with non-friend, non-class functions for better flexibility. 5. Move convenience types out from InMemoryURLIndex class up into history namespace. 6. Rename convenience types to generalize their intent. BUG=92718 TEST=Enhanced unit tests. Review URL: http://codereview.chromium.org/8359019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107893 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Oct, 2011 35 commits
-
-
wtc@chromium.org authored
issued by a VeriSign intermediate CA. Change the CertVerifier cache to identify a certificate chain by the hash of the entire chain rather than just the server certificate. This requires adding X509Certificate::chain_fingerprint(), and the X509Certificate::CalculateChainFingerprint() method to compute the chain fingerprint. R=agl@chromium.org,rsleevi@chromium.org BUG=101555 TEST=X509CertificateTest.ChainFingerprints and CertVerifierTest.DifferentCACerts in net_unittests Review URL: http://codereview.chromium.org/8400075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107888 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/8418046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107887 0039d316-1c4b-4281-b951-d872f2087c98
-
noelutz@google.com authored
This CL also tells all Chrome users who have SafeBrowsing turned on to download this new whitelist. BUG= TEST=SafeBrowsingProtocolParsingTest Review URL: http://codereview.chromium.org/8417040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107885 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/8341137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107884 0039d316-1c4b-4281-b951-d872f2087c98
-
aa@chromium.org authored
Before we were ending up with different preferences set in different locations. I'm not sure if this approach is right from the content-team's point of view. BUG= TEST= Review URL: http://codereview.chromium.org/8403024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107882 0039d316-1c4b-4281-b951-d872f2087c98
-
jhawkins@chromium.org authored
BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8399028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107881 0039d316-1c4b-4281-b951-d872f2087c98
-
jhawkins@chromium.org authored
BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8403023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107878 0039d316-1c4b-4281-b951-d872f2087c98
-
timurrrr@chromium.org authored
BUG=102134 TBR=hbono TEST=TSan bots mostly green Review URL: http://codereview.chromium.org/8341136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107877 0039d316-1c4b-4281-b951-d872f2087c98
-
timurrrr@chromium.org authored
BUG=102255,102256,10227 TEST=Memory FYI waterfall is so much greener TBR=hbono Review URL: http://codereview.chromium.org/8416062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107876 0039d316-1c4b-4281-b951-d872f2087c98
-
nirnimesh@chromium.org authored
Revert 107846 - Suppress failure for downloads.DownloadsTest.testPauseAndResume, as it is failing sporadically on pyauto win vista, and cause is not understood. BUG=102228 Review URL: http://codereview.chromium.org/8413065 TBR=eroman@chromium.org Review URL: http://codereview.chromium.org/8341134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107870 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-release@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107869 0039d316-1c4b-4281-b951-d872f2087c98
-
bryner@chromium.org authored
BUG=none TEST=BrowserFeatureExtractorTest Review URL: http://codereview.chromium.org/8400050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107867 0039d316-1c4b-4281-b951-d872f2087c98
-
satorux@chromium.org authored
As they are now virtual. BUG=chromium-os:22197 TEST=chrome and tests build Review URL: http://codereview.chromium.org/8400077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107866 0039d316-1c4b-4281-b951-d872f2087c98
-
satorux@chromium.org authored
These tests have been failing since crrev.com/107314 due to the hacky workaround I added. Along the way, rework other tests to use MockDBusThreadManager. These weren't failing but using the mock would make the tests faster and more reliable. For signed_settings_unittest.cc to pass, add expectations for StorePolicy(). We didn't need this before, as we were using stub implementation that always ran callback.Run(true), but we are now using mocks, so we should add this behavior manually. BUG=chromium-os:22183 TEST=Run UpdateScreenTest, NetworkScreenTest, ExistingUserControllerTest, SignedSettingsHelperTest with the debug build. Review URL: http://codereview.chromium.org/8418037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107865 0039d316-1c4b-4281-b951-d872f2087c98
-
jam@chromium.org authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107864 0039d316-1c4b-4281-b951-d872f2087c98
-
jam@chromium.org authored
Expose the sandbox related code through the content API. I did a bit of cleanup while I was doing this. -got rid of SandboxInitWrapper, since I didn't see a need to expose given that we can just expose sandbox::SandboxInterfaceInfo -got rid of the duplicated code to initialize the broker -since I made MainFunctionParams only have the sandbox struct on Windows, I also made the mac specific auto release pool behind an ifdef as well. It seemed odd to make something so mac specific compile on all platforms to save some #ifdefs. BUG=98716 Review URL: http://codereview.chromium.org/8414020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107863 0039d316-1c4b-4281-b951-d872f2087c98
-
johnnyg@chromium.org authored
TBR=eroman git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107862 0039d316-1c4b-4281-b951-d872f2087c98
-
jbates@chromium.org authored
http://codereview.chromium.org/7981004/ BUG=95714 TEST=base_unittests Review URL: http://codereview.chromium.org/8418044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107861 0039d316-1c4b-4281-b951-d872f2087c98
-
jam@chromium.org authored
Review URL: http://codereview.chromium.org/8418043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107858 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107857 0039d316-1c4b-4281-b951-d872f2087c98
-
kbr@chromium.org authored
BUG=none TEST=try, WebGL conformance tests Review URL: http://codereview.chromium.org/8413053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107856 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107855 0039d316-1c4b-4281-b951-d872f2087c98
-
johnnyg@chromium.org authored
BUG=none TEST=none TBR=caseq Review URL: http://codereview.chromium.org/8416059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107854 0039d316-1c4b-4281-b951-d872f2087c98
-
satorux@chromium.org authored
I thought we wouldn't need a mock for this, but I was wrong. To properly fix crosbug.com/22183, we need to mock out DBusThreadManager. As always, it's never too late to do the right thing. BUG=chromium-os:22197 TEST=D-Bus functions work as before (brightness change keys work) Review URL: http://codereview.chromium.org/8343069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107853 0039d316-1c4b-4281-b951-d872f2087c98
-
brettw@chromium.org authored
[ Re-land of 107815 ] Review URL: http://codereview.chromium.org/8416055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107852 0039d316-1c4b-4281-b951-d872f2087c98
-
thakis@chromium.org authored
BUG=none TEST=none TBR=hans Review URL: http://codereview.chromium.org/8413055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107851 0039d316-1c4b-4281-b951-d872f2087c98
-
tessamac@chromium.org authored
BUG= TEST= Review URL: http://codereview.chromium.org/8392025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107850 0039d316-1c4b-4281-b951-d872f2087c98
-
tessamac@chromium.org authored
BUG= TEST= Review URL: http://codereview.chromium.org/8395031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107849 0039d316-1c4b-4281-b951-d872f2087c98
-
eroman@chromium.org authored
Suppress failure for downloads.DownloadsTest.testPauseAndResume, as it is failing sporadically on pyauto win vista, and cause is not understood. BUG=102228 Review URL: http://codereview.chromium.org/8413065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107846 0039d316-1c4b-4281-b951-d872f2087c98
-
jbates@chromium.org authored
Revert 107813 - add classes trace_analyzer::Query and TraceAnalyzer to make it easy to search through trace data. This also adds a trace_analyzer::TraceEvent class that can be constructed from JSON data (via base::Value). TraceEvent mirrors base::debug::TraceEvent in a form that is lower performance and easier to use in test code. BUG=95714 TEST=base_unittests Review URL: http://codereview.chromium.org/7981004 TBR=jbates@chromium.org Review URL: http://codereview.chromium.org/8413063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107845 0039d316-1c4b-4281-b951-d872f2087c98
-
rvargas@google.com authored
BUG=101853 TEST=none Review URL: http://codereview.chromium.org/8343048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107844 0039d316-1c4b-4281-b951-d872f2087c98
-
jbates@chromium.org authored
TBR=eroman Review URL: http://codereview.chromium.org/8400079 TBR=jbates@chromium.org Review URL: http://codereview.chromium.org/8400081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107843 0039d316-1c4b-4281-b951-d872f2087c98
-
xians@chromium.org authored
CL 8162015 failed the trybot and was reverted. But I could not reproduce the issue in my local machine, so I just make a new CL and test it on trybot again. BUG= TEST= Review URL: http://codereview.chromium.org/8361031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107842 0039d316-1c4b-4281-b951-d872f2087c98
-
jeremya@chromium.org authored
The crash was due to the fact that Browser::OnDenyFullscreenPermission causes BrowserWindow::ExitFullscreen to be called, which causes the FullscreenExitBubbleController to be destroyed. [FullscreenExitBubbleController deny:] was sending a -hideSoon message to its zombie self following the call to Browser::OnDenyFullscreenPermission. BUG=101835 TEST=The browser doesn't crash when you click "Exit full screen" on a fullscreened page. Review URL: http://codereview.chromium.org/8399017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107841 0039d316-1c4b-4281-b951-d872f2087c98
-
groby@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/8351008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107840 0039d316-1c4b-4281-b951-d872f2087c98
-