summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert 167337 - Move url_request_test_util into net namespacejochen@chromium.org2012-11-1339-361/+344
| | | | | | | | | | | | | | | This file contains some rather generic names like "TestDelegate". Move it to the net namespace to avoid collisions BUG=none TBR=darin@chromium.org Review URL: https://codereview.chromium.org/11369179 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/11410066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167356 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Remove unused CrosAddIPConfig/CrosRemoveIPConfig functionshashimoto@chromium.org2012-11-1311-161/+0
| | | | | | | | | BUG=126964 TEST=build Review URL: https://chromiumcodereview.appspot.com/11361211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167354 0039d316-1c4b-4281-b951-d872f2087c98
* Undo the change in r159611 to native_widget_aura.cc as it sometimes leaves ↵jam@chromium.org2012-11-131-6/+1
| | | | | | | | windows without a RootWindowHost. That breaks an assumption in a bunch of places in the code. I've tested the scenario given in r132090 to make sure that it doesn't crash. Review URL: https://chromiumcodereview.appspot.com/11275270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167353 0039d316-1c4b-4281-b951-d872f2087c98
* Add DebugOverridePolicies preference to debug host builds.wez@chromium.org2012-11-133-0/+75
| | | | | | | | | | | Also adds a test that unknown policies are not included in policy-change callbacks. BUG=155599 Review URL: https://chromiumcodereview.appspot.com/11366193 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167352 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2012-11-131-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167351 0039d316-1c4b-4281-b951-d872f2087c98
* Implement heart beat in ClearKeyCdm.xhwang@chromium.org2012-11-133-12/+77
| | | | | | | | | | | | | Clear Key CDM sends out heart beat message periodically. To facilitate testing, the period of heart beat messages is short (200ms) at start-up. Then the period gets longer and longer until it reaches the maximum (1min) to avoid message spam. The heart beat key message starts with HEARTBEAT and the application should parse key messages to handle them properly. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/11368023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167350 0039d316-1c4b-4281-b951-d872f2087c98
* Update nss_revision to 166832 to pick up NSS 3.14 pre-releasewtc@chromium.org2012-11-131-1/+1
| | | | | | | | | | | | | | snapshot 2012-06-28 01:00:00 PDT. The underlying CL is https://codereview.chromium.org/11362174 TBR=rsleevi@chromium.org BUG=151692 TEST=none Review URL: https://chromiumcodereview.appspot.com/11366167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167349 0039d316-1c4b-4281-b951-d872f2087c98
* Add touch event methods to AwContentsboliu@chromium.org2012-11-132-15/+33
| | | | | | | | | | | | They simply call out directly to ContentViewCore counterparts, except onTouchEvent which also triggers hit test. BUG= Review URL: https://chromiumcodereview.appspot.com/11366208 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167348 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 1324.0 to 1325.0chrome-release@google.com2012-11-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167347 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 167341 - Use the WebTestProxy for layout tests in content_shelljochen@chromium.org2012-11-1314-266/+63
| | | | | | | | | | | | | | | | | | | | | - Add a hook to the content renderer client to allow embedders to override the creation of RenderViewImpls. To simplify this, I consolidate the parameters passed to RVI's constructor into a struct. - Add a content_layouttest_support library that provides a method for creating a modified RenderViewImpl suitable for running layout tests. - Use above library from the content_shell. BUG=111316 TEST=almost all accessibility tests pass. Review URL: https://codereview.chromium.org/11362161 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/11275276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167345 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up some code in profile_shortcut_manager_win.ccasvitkine@chromium.org2012-11-131-29/+22
| | | | | | | | | | | | | | I will likely be working with this code soon to put the final touches on the profile shortcuts feature. This is a preliminary CL with no functionality changes that just cleans up some of the code. BUG=none TEST=no logic changes Review URL: https://chromiumcodereview.appspot.com/11293237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167344 0039d316-1c4b-4281-b951-d872f2087c98
* Do not set completed_length to 0 if not available.bartn@chromium.org2012-11-134-4/+9
| | | | | | | | | BUG=159493 TBR=isherman@chromium.org Review URL: https://chromiumcodereview.appspot.com/11365118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167343 0039d316-1c4b-4281-b951-d872f2087c98
* Add DriveFileSyncService for Sync FileSystemtzik@chromium.org2012-11-1312-14/+1119
| | | | | | | | BUG=156041 Review URL: https://codereview.chromium.org/11360080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167342 0039d316-1c4b-4281-b951-d872f2087c98
* Use the WebTestProxy for layout tests in content_shelljochen@chromium.org2012-11-1314-63/+266
| | | | | | | | | | | | | | | | | | - Add a hook to the content renderer client to allow embedders to override the creation of RenderViewImpls. To simplify this, I consolidate the parameters passed to RVI's constructor into a struct. - Add a content_layouttest_support library that provides a method for creating a modified RenderViewImpl suitable for running layout tests. - Use above library from the content_shell. BUG=111316 TEST=almost all accessibility tests pass. Review URL: https://codereview.chromium.org/11362161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167341 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2012-11-131-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167340 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Remove ::create factory functions from objects created via ↵nileshagrawal@chromium.org2012-11-1316-24/+71
| | | | | | | | | | | | | | WebCompositorSupport" This reverts commit f209b34c28c450d045fb1db6774d7bca7e6c2e6f. Breaks AndroidWebviewTests BUG=160633 TBR=jamesr,aelias Review URL: https://chromiumcodereview.appspot.com/11361233 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167339 0039d316-1c4b-4281-b951-d872f2087c98
* Webkit roll 134202:134347hayato@chromium.org2012-11-131-1/+1
| | | | | | | | | | | | http://trac.webkit.org/log/?rev=134347&stop_rev=134203&verbose=on TBR= BUG= Review URL: https://codereview.chromium.org/11360218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167338 0039d316-1c4b-4281-b951-d872f2087c98
* Move url_request_test_util into net namespacejochen@chromium.org2012-11-1339-344/+361
| | | | | | | | | | | | This file contains some rather generic names like "TestDelegate". Move it to the net namespace to avoid collisions BUG=none TBR=darin@chromium.org Review URL: https://codereview.chromium.org/11369179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167337 0039d316-1c4b-4281-b951-d872f2087c98
* Makes SharedCallbackRunner thread safekinuko@chromium.org2012-11-132-4/+3
| | | | | | | | | | | | Also makes GetConflictFiles non-flaky (so that we can be notified when failure happens again) BUG=160694 TEST=SyncFileSystemServiceTest.GetConflictFiles Review URL: https://codereview.chromium.org/11362222 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167336 0039d316-1c4b-4281-b951-d872f2087c98
* Add support in NaCl browser tests for testing pnacl-translated nexesdschuff@chromium.org2012-11-139-4/+81
| | | | | | | | | | | | | | | | This CL enables bitcode builds of the various PPAPI libs, and enables support PNaCl builds of several nexe test targets (using pre-translated nexes for now). It also adds a dependency on the IRT shim for those nexes, and causes the shim to get built in-place for the pnacl toolchain. (since the SDK-packaged toolchain is in a different location, the SDK build script is updated so it copies the shim from the right place). BUG= http://code.google.com/p/nativeclient/issues/detail?id=2484 Review URL: https://chromiumcodereview.appspot.com/11348048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167335 0039d316-1c4b-4281-b951-d872f2087c98
* Fix on-disk structure for persistent storage in webview tags.ajwong@chromium.org2012-11-139-138/+398
| | | | | | | | | BUG=159464 Review URL: https://chromiumcodereview.appspot.com/11366140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167334 0039d316-1c4b-4281-b951-d872f2087c98
* views: Just call GetLocalBounds() instead of reimplementing it.tfarina@chromium.org2012-11-134-7/+5
| | | | | | | | | R=pkasting@chromium.org Review URL: https://chromiumcodereview.appspot.com/11410053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167333 0039d316-1c4b-4281-b951-d872f2087c98
* Barebones NetErrorTabHElper.ttuttle@chromium.org2012-11-136-0/+234
| | | | | | | | | | | | | Implement a barebones NetErrorTabHelper that watches loads and calls stubs that will eventually start DNS probes. BUG=156415 TEST=none yet Review URL: https://chromiumcodereview.appspot.com/11365047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167332 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid using chrome.tabs API in a packaged Files appkaznacheev@chromium.org2012-11-132-3/+12
| | | | | | | | BUG=160005 Review URL: https://codereview.chromium.org/11275260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167331 0039d316-1c4b-4281-b951-d872f2087c98
* [win] fix checkbox padding in uninstall dialogestade@chromium.org2012-11-131-1/+1
| | | | | | | | | BUG=160036 Review URL: https://chromiumcodereview.appspot.com/11363210 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167330 0039d316-1c4b-4281-b951-d872f2087c98
* Add myself as owner for content_shell.gypijochen@chromium.org2012-11-131-0/+1
| | | | | | | | | BUG=111316 R=jam@chromium.org Review URL: https://codereview.chromium.org/11361214 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167329 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that NSS HTTP IO is initialized on iOS.blundell@chromium.org2012-11-131-1/+1
| | | | | | | | | | | | | |EnsureNSSHttpIOInit| was not being called on iOS. Previously this had been OK because |SetMessageLoopForNSSHttpIO| is being called on iOS. However, after the landing of http://crrev.com/127680, |SetMessageLoopForNSSHttpIO| no longer actually sets the IO loop used for NSS HTTP IO. To remedy this problem, ensure that |EnsureNSSHttpIOInit| is called on iOS. Review URL: https://chromiumcodereview.appspot.com/11293235 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167328 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA histogram to see how widespread it is for users to have a favicons ↵pkotwicz@chromium.org2012-11-132-0/+18
| | | | | | | | | | | database with a missing column. Bug=151841, 160360 Test=histogram for ThumbnailDatabase.InvalidFaviconsDBStructure shows up on histograms dashboard Review URL: https://chromiumcodereview.appspot.com/11362191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167327 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor autofill code somewhat.estade@chromium.org2012-11-1316-883/+840
| | | | | | | | | | | | | This pulls form field filling functionality out of AutofillManager and into FormGroup and its subclasses. It also folds the SelectControlHandler file into FormGroup. There should be no functional changes. Result: better encapsulation, slightly smaller AutofillManager. Code outside of AutofillManager can fill in forms, there are fewer ugly typecasts. BUG=none Review URL: https://chromiumcodereview.appspot.com/11360179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167326 0039d316-1c4b-4281-b951-d872f2087c98
* Restore Files app window state after Chrome OS rebootkaznacheev@chromium.org2012-11-1310-130/+437
| | | | | | | | BUG=160004 Review URL: https://codereview.chromium.org/11360169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167325 0039d316-1c4b-4281-b951-d872f2087c98
* SyncFileSystemServiceTest.GetConflictFiles marked as flaky.ygorshenin@chromium.org2012-11-131-1/+1
| | | | | | | | | BUG=160694 TBR=kinuko@chromium.org Review URL: https://codereview.chromium.org/11366216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167324 0039d316-1c4b-4281-b951-d872f2087c98
* Added setting a context provider in testing_browser_process.cc.mtomasz@chromium.org2012-11-132-2/+10
| | | | | | | | | | This patch adds a getter and a setter for net::URLRequestContextGetter in TestingBrowserProcess class. This allows to write tests which uses URLFetcher as simple unit_test, not browser_test as before. This significantly speeds up such tests. BUG=153996 Review URL: https://codereview.chromium.org/11359159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167323 0039d316-1c4b-4281-b951-d872f2087c98
* Update .DEPS.gitchrome-admin@google.com2012-11-131-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167322 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Roll 134183:134202.hayato@chromium.org2012-11-131-1/+1
| | | | | | | | | | TBR=dglazkov TEST=none BUG=none Review URL: https://codereview.chromium.org/11362221 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167321 0039d316-1c4b-4281-b951-d872f2087c98
* Initial bandaid for DataDeletion of isolated storageajwong@chromium.org2012-11-132-189/+88
| | | | | | | | | | | | This will ensure that all apps with isolated storage have the contents of their default storage contexts deleted out from them, but it won't handle removal of the actual storage directory. This doesn't handle persitent webview tags yet. BUG=85127 Review URL: https://chromiumcodereview.appspot.com/11359153 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167320 0039d316-1c4b-4281-b951-d872f2087c98
* Add a 'bounds' property to app.window.create options.jeremya@chromium.org2012-11-133-10/+28
| | | | | | | | | | | This is a synonym for left/top/width/height. BUG=155240 Review URL: https://chromiumcodereview.appspot.com/11358003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167319 0039d316-1c4b-4281-b951-d872f2087c98
* Fix PPP_Instance_ProxyTest.PPPInstance1_0yzshen@chromium.org2012-11-131-0/+1
| | | | | | | | TEST=test should pass BUG=156730 TBR=ygorshenin@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167318 0039d316-1c4b-4281-b951-d872f2087c98
* Remove crash instrumentation, since we haven't seen a crash inccameron@chromium.org2012-11-135-61/+1
| | | | | | | | | | | | a long time (Canary just got some with single-threaded proxy, but that's a different issue). BUG=151428 Review URL: https://chromiumcodereview.appspot.com/11363207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167317 0039d316-1c4b-4281-b951-d872f2087c98
* [cc] Fix crash when adding a child layer to its own parent.tedchoc@chromium.org2012-11-132-1/+19
| | | | | | | | | | | | Only calculate the index after calling removeFromParent in case it modifies the number of children. BUG= Review URL: https://chromiumcodereview.appspot.com/11377108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167315 0039d316-1c4b-4281-b951-d872f2087c98
* Moved extension unpacking to cryptohome (ChromeOS).zelidrag@chromium.org2012-11-131-0/+6
| | | | | | | | | | BUG=160148 TEST=existing extension install tests for chromeos=1 builds Review URL: https://chromiumcodereview.appspot.com/11364167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167314 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that field trials synced to the renderer process are considered "active".asvitkine@chromium.org2012-11-134-12/+61
| | | | | | | | | | | | | | | | | | | | | http://crrev.com/166168 made trials on which group() hasn't been called not get reported. This resulted in renderer crash reports not being tagged with field trials because group() wasn't called on the renderer side after they are synchronized from the browser process. This change makes CreateTrialsFromString() mark trials as used as well as making trials synchronized to the renderer later via OnSetFieldTrialGroup() notification also get marked as used. Also fixes a couple of lint warnings in chrome_render_process_observer.cc and changes field_trial_unittest.cc to not use a deprecated function. BUG=158801 TEST=New FieldTrialTest.CreateFieldTrialIsActive test. Review URL: https://chromiumcodereview.appspot.com/11376002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167313 0039d316-1c4b-4281-b951-d872f2087c98
* Add CHECKs to diagnose a Pepper Flash crash.yzshen@chromium.org2012-11-132-0/+15
| | | | | | | | | | | | Sometimes Flash receives a 0 device scale value, we would like to find out in what circumstances the renderer side would send such a value. This CL will be removed after it takes effect in one Canary build. BUG=156730 TEST=None Review URL: https://codereview.chromium.org/11360212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167312 0039d316-1c4b-4281-b951-d872f2087c98
* Print headers and footers with WebKit.vitalybuka@chromium.org2012-11-1312-301/+244
| | | | | | | | | | | | | Old implementation with gfx::RenderText had issues with fallback fonts. Sandbox does not allow to read required information from registry. Also WebKit inplementation is smaller and more readable. BUG=152893, 108599, 133548 TEST=manual: make sure that main content with or without headers is in the same place (default margin is exception). Make sure that any custom margins and paper layout produce reasonable result. If margins are to small, header and footer should be hidden. Review URL: https://chromiumcodereview.appspot.com/11359020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167311 0039d316-1c4b-4281-b951-d872f2087c98
* Handle errors on the initialization of SyncFileSystemServicetzik@chromium.org2012-11-133-4/+43
| | | | | | | | BUG=156041 Review URL: https://codereview.chromium.org/11358211 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167310 0039d316-1c4b-4281-b951-d872f2087c98
* Add RunCallback to invoke a callback parameter in unittests.xhwang@chromium.org2012-11-1310-197/+345
| | | | | | | | | | | | | | In gmock, ::testing::InvokeArgument doesn't support chromium base::Callback. Adding customized templated action RunCallback to support this. Also added new matchers for base::callback. BUG=none TEST=Added unittests to test the new matchers and actions. Updated media_unittests to use the new matchers and actions. Review URL: https://chromiumcodereview.appspot.com/11359100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167309 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 167305 - Implement DriveMetadataStore::RemoveOrigintzik@chromium.org2012-11-133-137/+0
| | | | | | | | | | | | BUG=156041 TEST=DriveMetadataStoreTest.RemoveOrigin Review URL: https://codereview.chromium.org/11365194 TBR=tzik@chromium.org Review URL: https://codereview.chromium.org/11365218 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167308 0039d316-1c4b-4281-b951-d872f2087c98
* Make ash hack CHROMEOS specific to fix ash on Windows where the hack is not ↵gab@chromium.org2012-11-131-2/+2
| | | | | | | | | | | | | | needed. This hack on Windows otherwise causes a hang when opening a Desktop window when ash is also running in Metro. (this hang is not reproducable right now as it's hidden by an earlier DCHECK fixed in upcoming CL https://codereview.chromium.org/11363124/) TEST=Able to open Desktop Aura windows when ash is running in Metro (requires https://codereview.chromium.org/11363124/). Review URL: https://chromiumcodereview.appspot.com/11359115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167307 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup, no functional change.pkasting@chromium.org2012-11-132-252/+217
| | | | | | | | | | | | | | | * Function declarations should either list all arguments on the same line as the function name, or one per line, indented even, starting on the same line as the function name if they fit. * '*' is adjacent to type name, not variable name. * Eliminate some code duplication. * No else after return. * Use vector::empty() and string16::clear() where appropriate. * Various other tiny cleanups for shorter code, parallel structure, consistent indenting with other Chrome code, etc. BUG=none TEST=none Review URL: https://codereview.chromium.org/11359177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167306 0039d316-1c4b-4281-b951-d872f2087c98
* Implement DriveMetadataStore::RemoveOrigintzik@chromium.org2012-11-133-0/+137
| | | | | | | | | BUG=156041 TEST=DriveMetadataStoreTest.RemoveOrigin Review URL: https://codereview.chromium.org/11365194 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167305 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce the RemoteAccessHostRequireCurtain policy on all platforms.wez@chromium.org2012-11-136-36/+62
| | | | | | | | | | | | | | | The host now always creates the CurtainingHostObserver, and configures it based upon policy. The platform specific CurtainMode implementations then handle attempts to activate the curtain according to availability; Windows and Mac hosts will currently reject connections and Linux hosts will reject connections if running against the console X server. BUG=159711 Review URL: https://chromiumcodereview.appspot.com/11275178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167304 0039d316-1c4b-4281-b951-d872f2087c98