summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Part 3 of reapplying r64637.erg@google.com2010-11-125-19/+62
| | | | | | | | | | | | | This moves SecurityStyle and PageType into chrome/common/ and removes the chrome_frame dependency on chrome/browser/tab_contents/. This undoes the temporary DEPS hack on chrome/common/. BUG=51409 TEST=compiles Review URL: http://codereview.chromium.org/4697005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65965 0039d316-1c4b-4281-b951-d872f2087c98
* Move click-to-play to about:flags.bauerb@chromium.org2010-11-122-4/+4
| | | | | | | | | | | | | | | | XIB changes: Add an outlet |pluginDefaultSettingMatrix_| to ContentSettingsDialogController, hooked up to the associated matrix, to remove the click-to-play radio button. While I'm at it, clean up a bit: * Remove the old --disable-click-to-play flag that reverted to the M6 behavior for blocked plugins * Make ContentExceptionsWindowController use ContentSettingComboModel for the action popup. * Make HostContentSettingsMapTest use AutoReset to reset command line switches. BUG=62091 TEST=unit_tests Review URL: http://codereview.chromium.org/4643007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65953 0039d316-1c4b-4281-b951-d872f2087c98
* Allow an extension to dynamically set extra data in its update URL, in orderrogerta@chromium.org2010-11-124-2/+141
| | | | | | | | | | | | to communicate dynamic information to its update server if needed. BUG=none TEST=Make sure that existing extensions that do no set any extra data are not adversely affected. Review URL: http://codereview.chromium.org/4725002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65946 0039d316-1c4b-4281-b951-d872f2087c98
* Support specifying the GSSAPI library that will be used.danno@chromium.org2010-11-126-0/+9
| | | | | | | | | | | | This preference can be set either via command-line or via group policy. BUG=53625 TEST=unittests: ConfigurationPolicyPrefStore*; net_unittests: HttpAuthHandlerNegotiateTest.*:HttpAuthGSSAPIPOSIXTest.*; manually: start Chrome with command-line switch --gssapi-library-name=XYZ and see if this results in the Chrome process loading /usr/lib/whatever/XYZ as soon as an authenticated HTTP site is encountered. Review URL: http://codereview.chromium.org/4560001 Patch from Jakob Kummerow <jkummerow@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65939 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the login token from webstorePrivate API function return values.asargent@chromium.org2010-11-122-0/+6
| | | | | | | | | | | | | This is to temporarily alleviate some UX and security concerns which we plan to address. We're leaving it in behind a flag so that the webstore engineers can continue to iterate on their end. BUG=62102 TEST=Should be covered by existing tests. Review URL: http://codereview.chromium.org/4834003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65905 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup named shmem segment after DeferredResourceLoadingTest.shess@chromium.org2010-11-121-3/+5
| | | | | | | | | | | | Otherwise the test fails if you run it twice because it leaves stuff in the tempdir. BUG=none TEST=none Review URL: http://codereview.chromium.org/4847002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65886 0039d316-1c4b-4281-b951-d872f2087c98
* Revise the omnibox extension API so that specifying descriptionStyles is easier.mpcomplete@chromium.org2010-11-113-149/+148
| | | | | | | | | | | | Now each style has a range that it applies to. The styles can also overlap and be listed out of order. BUG=62385 TEST=covered by unit/browser tests Review URL: http://codereview.chromium.org/4660008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65869 0039d316-1c4b-4281-b951-d872f2087c98
* Implements a C++ version of JSONSchemaValidator.aa@chromium.org2010-11-115-0/+1452
| | | | | | | | | BUG=none TEST=covered by unit tests Review URL: http://codereview.chromium.org/4673001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65867 0039d316-1c4b-4281-b951-d872f2087c98
* Restrict file protocol on chromeos to certain whitelisted directories. ↵achuith@chromium.org2010-11-112-0/+5
| | | | | | | | | | | Disable this for tests. BUG=chromium-os:3412 TEST=Access file: directories on chromeos. browser, ui, interactive ui and unit tests should continue to pass. Review URL: http://codereview.chromium.org/4160003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65866 0039d316-1c4b-4281-b951-d872f2087c98
* Add a client-side phishing detection service class.noelutz@google.com2010-11-112-1/+144
| | | | | | | | | | | | This class is responsible for talking to the client-side detection servers and to fetch the machine learning model. BUG=none TEST=ClientSideDetectionServiceTest Review URL: http://codereview.chromium.org/3815014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65860 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Prevent reading uninitialized variables.jhawkins@chromium.org2010-11-111-0/+3
| | | | | | | | | | CID=13648 BUG=none TEST=none Review URL: http://codereview.chromium.org/4771003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65848 0039d316-1c4b-4281-b951-d872f2087c98
* Disables full sync option for the owner when password is changed.altimofeev@chromium.org2010-11-112-0/+4
| | | | | | | | | | | | | | | 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
* openssl build fixes, and tidy the build filesjoth@chromium.org2010-11-111-3/+3
| | | | | | | | | | | Split out of http://codereview.chromium.org/4691003/ BUG=None TEST=builds... Review URL: http://codereview.chromium.org/4696004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65801 0039d316-1c4b-4281-b951-d872f2087c98
* Mac Sandbox: Fix crbug.com/60917 on 10.5jeremy@chromium.org2010-11-111-14/+11
| | | | | | | | | | | HOME_DIR_AS_LITERAL is now used on both 10.5 & 10.6 so remove from 10.6-only block. BUG=60917 TEST=Repro steps in bug Review URL: http://codereview.chromium.org/4691004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65782 0039d316-1c4b-4281-b951-d872f2087c98
* Simplified AudioOutputStream interface.sergeyu@chromium.org2010-11-112-12/+7
| | | | | | | | | | | | | 1. Removed packet_size parameter from Open(). 2. Removed OnClose() from the callback. Now the callback is guaranteed to be called only between Start() and Stop(). 3. Added samples_per_packet in the AudioParameters struct. BUG=39825 TEST=Unittests Review URL: http://codereview.chromium.org/4661001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65766 0039d316-1c4b-4281-b951-d872f2087c98
* Improve the doc navigation.kathyw@chromium.org2010-11-1163-62/+549
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/4774002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65744 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Log extensions loaded with crash dumps.shess@chromium.org2010-11-112-2/+22
| | | | | | | | | | | | | | Replacing the TODO(port) to log extension-N for the extensions associated with a dump. CL which landed TODO(port): http://codereview.chromium.org/457028 BUG=none TEST=none Review URL: http://codereview.chromium.org/4645005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65743 0039d316-1c4b-4281-b951-d872f2087c98
* Split the private webstore install API into two parts.asargent@chromium.org2010-11-101-0/+34
| | | | | | | | | | | | | | | | | | The first part, beginInstall, must be called during a user gesture. The second part should supply a matching id and actually starts the download and install process. BUG=61954 TEST=Requires webstore server side changes before it can be fully tested. For now, you can test that visiting the webstore and running something like the following command in the javascript console generates an error: chrome.webstorePrivate.beginInstall("mihcahmgecmbnbcchbopgniflfhgnkff") Review URL: http://codereview.chromium.org/4727001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65722 0039d316-1c4b-4281-b951-d872f2087c98
* Rename GaiaAuthenticator2 to GaiaAuthFetcher.tfarina@chromium.org2010-11-105-133/+132
| | | | | | | | | | | (Note: This was a TODO for chron). BUG=None TEST=trybots Review URL: http://codereview.chromium.org/4155010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65719 0039d316-1c4b-4281-b951-d872f2087c98
* Part 2 of reapplying r64637.erg@google.com2010-11-105-0/+2149
| | | | | | | | | | | | | Move the automation message files from chrome/test/automation to chrome/common/. This requires a temporary override to chrome/common/DEPS until Part 3 lands. BUG=51409 TEST=compiles Review URL: http://codereview.chromium.org/4758001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65695 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Update help URLs.derat@chromium.org2010-11-102-0/+30
| | | | | | | | | | | | This also moves some untranslatable URL strings out of .grd files and into code so we don't duplicate them per-language. BUG=chromium-os:8117 TEST=trybots; also built and ran the chrome os version Review URL: http://codereview.chromium.org/4495001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65683 0039d316-1c4b-4281-b951-d872f2087c98
* Detect corruption of previous snapshots in histogramsjar@chromium.org2010-11-102-36/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | Having verified that histograms can be corrupted by random memory smashers (or DRAM problems), this CL looks at one last example of histograms that are at rest for an extended period of time, and hence vulnerable. Between each UMA upload, we save snapshots of the data we've already sent, so that we can just send "new samples." If those snapshots are corrupted, the noise would be directly injected into the UMA uploads. This CL checks for consistency in those snapshots, and if there is any inconsistency, it skips over the recent changes (since it has no baseline). Since the code to do this was getting larger, I factored it out a bit. The hassle is that I wanted to keep separate records of corruption in the renderer vs browser, which complicates the factoring a bit. BUG=61281 r=mbelshe Review URL: http://codereview.chromium.org/4733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65675 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 65535danno@chromium.org2010-11-104-0/+34
| | | | | | | | | | | | Group Policy support for HTTP authentication, already had LGTM from http://codereview.chromium.org/3517018. BUG=53625 TEST=ConfigurationPolicyPrefStore* Review URL: http://codereview.chromium.org/4733003 Patch from Jakob Kummerow <jkummerow@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65664 0039d316-1c4b-4281-b951-d872f2087c98
* First round of audits to make sure 'app' is displayed instead of 'extension' ↵andybons@chromium.org2010-11-101-11/+11
| | | | | | | | | | | where appropriate. This includes some cleanup and deletion of stale/unused code surrounding apps and extensions. BUG=61259 TEST=Make sure proper wording is used when dealing with apps instead of extensions. Review URL: http://codereview.chromium.org/4753001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65663 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a new process type for running PPAPI plugins. The process itself isbrettw@chromium.org2010-11-108-5/+71
| | | | | | | | | | | | | | | quite simple and just sets up the PPAPI dispatcher and loads the library. There is a new command line switch --ppapi-out-of-process which runs PPAPI plugins out of process using the new code path. There is some logic in RenderView and PepperPluginModule for setting up this connection, but it should be straightforward. TEST=none BUG=none Review URL: http://codereview.chromium.org/3915002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65614 0039d316-1c4b-4281-b951-d872f2087c98
* Only generate zips for Chrome extension samples whose contents have changed.kurrik@chromium.org2010-11-0947-758/+836
| | | | | | | | | | | | | | | | * Implement a _parse_source_data method to parse sample sources more efficiently. * Generate a hash of all source code for each sample. * Add hash to zip files in a file named VERSION. * Do not write zip files for samples where the hash has not changed. * Print modified zips in the 'Following files have changed' warning. * Sort keys in samples.json alphabetically when writing that file. BUG=61024 TEST=See bug Review URL: http://codereview.chromium.org/4106007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65591 0039d316-1c4b-4281-b951-d872f2087c98
* Make the Chrome Extensions directory build script handle unicode files.kurrik@chromium.org2010-11-091-2/+2
| | | | | | | | | BUG=62155 TEST=None Review URL: http://codereview.chromium.org/4581002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65570 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 65535 - Group Policy support for HTTP authenticationdanno@chromium.org2010-11-094-34/+0
| | | | | | | | | | | | | BUG=53625 TEST=ConfigurationPolicyPrefStore* Review URL: http://codereview.chromium.org/3517018 Patch from Jakob Kummerow <jkummerow@google.com>. TBR=danno@chromium.org Review URL: http://codereview.chromium.org/4643004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65537 0039d316-1c4b-4281-b951-d872f2087c98
* Group Policy support for HTTP authenticationdanno@chromium.org2010-11-094-0/+34
| | | | | | | | | | BUG=53625 TEST=ConfigurationPolicyPrefStore* Review URL: http://codereview.chromium.org/3517018 Patch from Jakob Kummerow <jkummerow@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65535 0039d316-1c4b-4281-b951-d872f2087c98
* Implement device management policy providerdanno@chromium.org2010-11-092-0/+6
| | | | | | | | | BUG=62462 TEST=DeviceManagementPolicyProviderTest* Review URL: http://codereview.chromium.org/4382001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65520 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a switch to change the instant-url. This'll be used for testing.sky@chromium.org2010-11-092-0/+5
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/4678003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65500 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using DestructionObserver in OCSP code. Explicilty cancel all URLRequests.willchan@chromium.org2010-11-091-0/+14
| | | | | | | | | BUG=59630 TEST=none Review URL: http://codereview.chromium.org/4119020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65479 0039d316-1c4b-4281-b951-d872f2087c98
* Discard GEOLOCATION_* notifications, instead observe preference notifications.csilv@chromium.org2010-11-091-9/+0
| | | | | | | | BUG=61110 TEST=Verify that sync events result in location setting UI updates. Review URL: http://codereview.chromium.org/4666002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65471 0039d316-1c4b-4281-b951-d872f2087c98
* - Relanding 61718.apatrick@chromium.org2010-11-096-3/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I disabled the GPU watchdog in three new cases: - If the OSMesa software renderer is in use. This will disable it on bots. - When running on valgrind, whether on a bot or locally. - In debug builds I added a GPU process initialization time to the GPU info. I moved the GPU initialization code outside the watchdog protection because it can take a long time and trigger the watchdog. I increased the timeout. I set up a field trial with different timeouts to see the rate of failure for each period. Original CL description: I added a watchdog thread that intermitently checks the main thread can respond to tasks posted on its message queue. I fixed some bugs that prevented GGL from failing when the GPU channel was lost. Added a command line swith to disable the watchdog thread for debugging purposes. TEST=try, local testing of all features BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65461 0039d316-1c4b-4281-b951-d872f2087c98
* Chromoting: Rename ChromotocolConfig -> SessionConfiggarykac@chromium.org2010-11-081-0/+7
| | | | | | | | | BUG=none TEST=build chrome, chromoting Review URL: http://codereview.chromium.org/4446005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65451 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Pass parameters by reference.jhawkins@chromium.org2010-11-081-1/+1
| | | | | | | | | | | CID=2099,2573,2574,2575,2576,2633,2667, 2673,2674,5148,6514,7758,8059,8060,8071 BUG=none TEST=none Review URL: http://codereview.chromium.org/4527006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65437 0039d316-1c4b-4281-b951-d872f2087c98
* Add api method to get an installed extension by ID.tessamac@google.com2010-11-083-1/+263
| | | | | | | | | BUG=60982 TEST=browser_tests Review URL: http://codereview.chromium.org/4354001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65435 0039d316-1c4b-4281-b951-d872f2087c98
* Allow verbatim to be passed in OnSearchBoxChange.tonyg@chromium.org2010-11-081-1/+2
| | | | | | | BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65433 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a sample for searching through the Chrome extension docs using omnibox.kurrik@chromium.org2010-11-0810-13/+580
| | | | | | | | | | | | | Moves the existing simple omnibox sample to its own directory. Regenerates samples.html samples.json and zips for the two moved samples. Removes the old omnibox.zip BUG=57886 TEST=Sample Exists Review URL: http://codereview.chromium.org/4508005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65432 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the mention of the "page" icon from the browserAction discussion.kathyw@chromium.org2010-11-082-2/+2
| | | | | | | | | BUG=57753 TEST=none Review URL: http://codereview.chromium.org/4498003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65427 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compile failure on GCCpkasting@chromium.org2010-11-081-1/+1
| | | | | | | | BUG=54274 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65426 0039d316-1c4b-4281-b951-d872f2087c98
* Make TestURLFetcherFactory able to remove fetchers from its map, and add an ↵pkasting@chromium.org2010-11-082-9/+24
| | | | | | | | | | ID accessor on TestURLFetcher, in preparation for more careful fetchre tracking in the GoogleURLTracker unittest. BUG=54274 TEST=none Review URL: http://codereview.chromium.org/4509002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65424 0039d316-1c4b-4281-b951-d872f2087c98
* Remove chat manager component extension in favour of external extensions.scherkus@chromium.org2010-11-082-5/+0
| | | | | | | | | | | I originally added this in r60123 but over time it turned out that being a regular installed app will work out better. BUG=none TEST=chat manager should no longer be a component extension on Chrome OS builds Review URL: http://codereview.chromium.org/4652002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65393 0039d316-1c4b-4281-b951-d872f2087c98
* Deleted code associated with --enable-gpu-rendering andkbr@chromium.org2010-11-088-117/+0
| | | | | | | | | | | | | | | | | | | | --enable-video-layering flags. With the introduction of accelerated compositing to Chromium this code is now obsolete, and it is causing problems and bug reports when users experiment with these flags. Tested on Linux in the following configurations: - Compositor on, CSS 3D content - Compositor on, HTML5 video content - Compositor off, HTML5 video content Also ran patch successfully through the try bots. BUG=54932 TEST=none Review URL: http://codereview.chromium.org/4399003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65383 0039d316-1c4b-4281-b951-d872f2087c98
* Add pinned property to tabs.update and create.jstritar@chromium.org2010-11-082-12/+264
| | | | | | | | | | | Fire tabs.onUpdated event if a tab's pinned state changes. BUG=24781 TEST=ExtensionApiTest Review URL: http://codereview.chromium.org/3816005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65379 0039d316-1c4b-4281-b951-d872f2087c98
* First cut of the about:conflicts page, listing all DLLs loaded in the Chrome ↵finnur@chromium.org2010-11-085-0/+22
| | | | | | | | | | | process. BUG=http://crbug.com/51105, http://crbug.com/57239 TEST=Unit tests included. Review URL: http://codereview.chromium.org/4524002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65366 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes up warning about const NSTypes from presubmit message. Gets rid of ↵dmaclach@chromium.org2010-11-071-11/+11
| | | | | | | | | | | leak of font. BUG=none TEST=build Review URL: http://codereview.chromium.org/4121004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65338 0039d316-1c4b-4281-b951-d872f2087c98
* Mac Sandbox: Clean up forward declaration of internal sandbox functions.jeremy@chromium.org2010-11-077-174/+207
| | | | | | | | | | | Move all Sandbox functions into their own class and declare functions needed by tests as private with FRIEND_TEST declarations where appropriate. BUG=60917 TEST=Chrome on Mac should run and unit tests should pass. Review URL: http://codereview.chromium.org/4380001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65332 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Use Linux WorkerPool code.shess@chromium.org2010-11-052-0/+8
| | | | | | | | | | | | | | | | | Adapts things to use the Linux WorkerPool code by default, with --disable-linux-workerpool to switch back to the old version. The old implementation uses NSOperationQueue, which is implemented in terms of pthread workqueues. These are implicated by the stack traces from the recent unit test flakiness. This change attempts to influence that flakiness. BUG=20471, 60426 TEST=Tree green. Review URL: http://codereview.chromium.org/4595001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65273 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ability for NotificationRegistrar users to check if a particular ↵pkasting@chromium.org2010-11-052-8/+21
| | | | | | | | | | notification is registered. BUG=54274 TEST=none Review URL: http://codereview.chromium.org/4574002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65233 0039d316-1c4b-4281-b951-d872f2087c98