summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Convert TimeFormat (chrome/common/time_format.*) to string16 (from wstring).viettrungluu@chromium.org2010-08-123-42/+45
| | | | | | | | | | | (Also do some drive-bys.) BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3165009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55842 0039d316-1c4b-4281-b951-d872f2087c98
* ServiceProcessControl to launch a service process and communicate through IPC.hclam@chromium.org2010-08-124-0/+124
| | | | | | | | | | | | | | | | | | Added two class for use with service process: ServiceProcessControl Used by the browser to launch and connect to the service process, also used to receive messages from the service process. ServiceProcessControlManager A singleton to manage multiple ServicProcessControl. BUG=50244 TEST=browser_tests --gtest_filter=ServiceProcess* Review URL: http://codereview.chromium.org/3032061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55826 0039d316-1c4b-4281-b951-d872f2087c98
* Adding tts experimental extensions apichaitanyag@chromium.org2010-08-121-0/+90
| | | | | | Review URL: http://codereview.chromium.org/2969005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55822 0039d316-1c4b-4281-b951-d872f2087c98
* Sort sample source file list so that the samples.json manifest will not ↵kurrik@chromium.org2010-08-123-117/+117
| | | | | | | | | | | randomly change. BUG=None TEST=None Review URL: http://codereview.chromium.org/3169004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55817 0039d316-1c4b-4281-b951-d872f2087c98
* Extension package creation cleanuperg@google.com2010-08-113-4/+4
| | | | | | | | | | | | | | | | Unify extension package creation code between command line and GUI methods. Properly handle extension names with periods or trailing slashes. Don't DCHECK when creating packages from the command line. BUG=14720, 19103, 51110 TEST=run 'chrome --pack-extension=has.a.dot/' on an extension with period in its name; make sure it is packed correctly and a message indicating success is printed. Review URL: http://codereview.chromium.org/3077022 Patch from Ilya Sherman <isherman@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55792 0039d316-1c4b-4281-b951-d872f2087c98
* Fix "missing plugin" error in linux chrome.gene@chromium.org2010-08-111-14/+13
| | | | | | | | | | | | | | On linux first check succeeded, while next one will fail and no plugin information got returned. So, I am inverting logic a little bit. IFF check for plugin file succeeded, we omit all subsequent for this file in the process. BUG=none TEST=Check PDF plugin is working in Chrome linux sandbox, and no PDF plugin is in Chromium build. Review URL: http://codereview.chromium.org/3181003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55784 0039d316-1c4b-4281-b951-d872f2087c98
* net: add embedded DNSSEC chain support.agl@chromium.org2010-08-112-0/+3
| | | | | | | | | | | | | | | | | Now that the DNS root is signed we have a good trust path in several TLDs (including .org). This patch enables self-signed certificates to include a DNSSEC chain as an extension which proves a CERT record, containing the fingerprint of the public key. The format of the chain is still undecided, so this is only enabled with --enable-dnssec-certs. BUG=none TEST=net_unittests http://codereview.chromium.org/2806076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55771 0039d316-1c4b-4281-b951-d872f2087c98
* Enable GLSL shader translator by default. With this change, Chrome'skbr@google.com2010-08-112-4/+4
| | | | | | | | | | | | WebGL implementation requires GLSL ES compliant shaders. Now pass --disable-glsl-translator on command line to disable the translator. BUG=none TEST=ran WebGL demos Review URL: http://codereview.chromium.org/3121005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55764 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r55750aa@chromium.org2010-08-115-52/+27
| | | | | | TBR=mirandac@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55761 0039d316-1c4b-4281-b951-d872f2087c98
* Forbid hybrid apps.aa@chromium.org2010-08-115-27/+52
| | | | | | | | BUG=49234 Review URL: http://codereview.chromium.org/3123004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55750 0039d316-1c4b-4281-b951-d872f2087c98
* Reapplies r55735, fixing some message code that was checked in that I ↵erg@google.com2010-08-115-150/+223
| | | | | | | | | | | | collided with. BUG=51411 TEST=none TBR=mpcomplete Review URL: http://codereview.chromium.org/3118009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55749 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "FBTF: Allow forward declaration of classes passed to sync IPC messages."erg@google.com2010-08-115-222/+149
| | | | | | | | | | | | This reverts commit r55735. BUG=none TEST=none TBR=mirandac Review URL: http://codereview.chromium.org/3152007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55738 0039d316-1c4b-4281-b951-d872f2087c98
* Add documentation about context menu API onclick callbacks.asargent@chromium.org2010-08-1158-156/+5015
| | | | | | | | | | | | This required modifying the docs build system to be able to output information about function parameters. BUG=49693 TEST=none Review URL: http://codereview.chromium.org/3167003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55737 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Allow forward declaration of classes passed to sync IPC messages.erg@google.com2010-08-115-149/+222
| | | | | | | | | | | | | This is a continuation of r55259, where we convert the remaining IPC messages to the new system. At this point, all the messages should be able to accept forward declared classes/structs as parameters. BUG=51411 TEST=none Review URL: http://codereview.chromium.org/3018045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55735 0039d316-1c4b-4281-b951-d872f2087c98
* Display the description of the active plugin in a plugin group.bauerb@chromium.org2010-08-113-39/+98
| | | | | | | | | | | The active plug-in is the one that would actually be loaded, i.e. the first enabled plug-in, or if all plugins are disabled, the very first plug-in in the group. BUG=48572,51728 TEST=PluginGroupTest.PluginGroupDescription Review URL: http://codereview.chromium.org/3142004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55732 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break due to bad merge.finnur@chromium.org2010-08-111-0/+3
| | | | | | | | | | BUG=None TEST=None TBR=pam Review URL: http://codereview.chromium.org/3181001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55729 0039d316-1c4b-4281-b951-d872f2087c98
* Implement admin control (by policy) over which extensions the user can ↵finnur@chromium.org2010-08-116-4/+19
| | | | | | | | | | | | | | | | | | install and run. Currently we intercept in two locations: 1) When the user tries to install an extension (includes error message). 2) Every time the browser starts up and the currently installed extensions are loaded (silently skips the extension). I implemented a whitelist and a blacklist approach, calling it a allow/deny list to not clash with the global blacklist we have for extensions. A blacklist of '*' means all extensions are blacklisted. If an extension is on the blacklist it cannot be installed/loaded, unless it also appears on the whitelist. I also fleshed out the LIST_TYPE support for policy values, so that we don't have to use comma separated REG_SZ values for lists and can instead use ADM support for listboxes. BUG=47085 TEST=ExtensionsServiceTest.BlacklistedByPolicyWillNotInstall, ConfigurationPolicyProviderWinTest.TestExtensionInstall* Review URL: http://codereview.chromium.org/3014053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55727 0039d316-1c4b-4281-b951-d872f2087c98
* Update minimum (secure) Flash version to 10.1.82(.x).viettrungluu@chromium.org2010-08-111-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3157005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55726 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium plumbing for Device Orientation.hans@chromium.org2010-08-112-0/+63
| | | | | | | | | | | | | | | Add the plumbing needed for communicating with the Device Orientation code in WebKit. RenderView provides an implementation of WebKit::WebDeviceOrientationClient: DeviceOrientationDispatcher. This communicates with the browser-side class device_orientation::DispatcherHost. device_orientation::Provider, responsible for providing the orientation data, is just an empty shell for now. BUG=44654 TEST=browser_tests --gtest_filter=DeviceOrientationBrowserTest.BasicTest Review URL: http://codereview.chromium.org/2858049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55724 0039d316-1c4b-4281-b951-d872f2087c98
* Implements initial plumbing for IDBCursor.bulach@chromium.org2010-08-116-10/+102
| | | | | | | | | This is the Chromium side of https://bugs.webkit.org/show_bug.cgi?id=41888 It's almost purely plumbing: actual logic and cursor implementation will follow soon. Review URL: http://codereview.chromium.org/2918002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55693 0039d316-1c4b-4281-b951-d872f2087c98
* Added event traces at various points during Chrome and ChromeFrame startup ↵ananta@chromium.org2010-08-111-0/+7
| | | | | | | | | | to help measure and track performance. Bug=51638 Review URL: http://codereview.chromium.org/3152001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55671 0039d316-1c4b-4281-b951-d872f2087c98
* Add Views UI for setting keyboard repeat delay and repeat interval.yusukes@chromium.org2010-08-112-0/+13
| | | | | | | | | BUG=chromium-os:4102 TEST=ran unit_tests Review URL: http://codereview.chromium.org/3023044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55670 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for --no-startup-window flag to launch chrome with no startup ↵atwilson@chromium.org2010-08-112-0/+5
| | | | | | window git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55666 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for showing the match preview on views. It's behind thesky@chromium.org2010-08-113-0/+8
| | | | | | | | | | | | flag --enable-match-preview. There is still a lot of details to get it working good enough, but this is a good point to check some stuff in. BUG=none TEST=none Review URL: http://codereview.chromium.org/3105004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55665 0039d316-1c4b-4281-b951-d872f2087c98
* Make prefs use std::string for keys rather than wstrings.viettrungluu@chromium.org2010-08-114-757/+732
| | | | | | | | | | | Much remains to be converted. BUG=23581 TEST=builds and passes tests Review URL: http://codereview.chromium.org/3076037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55660 0039d316-1c4b-4281-b951-d872f2087c98
* Replace --top-sites flag with --no-top-sites flag. TopSites becomes the default.nshkrob@chromium.org2010-08-102-5/+4
| | | | | | | | | | | BUG=none TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55244 Review URL: http://codereview.chromium.org/3054028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55610 0039d316-1c4b-4281-b951-d872f2087c98
* pepper: don't warn if PDF plugin is unavailableevan@chromium.org2010-08-101-4/+12
| | | | | | | | | | | | | | | We preload plugins before we sandbox, then later attempt to fully load them once we're sandboxed. We can't ask whether the plugin exists at the second point because we don't have disk access at that point. So instead, the first time we're asked about plugins (before we're sandboxed), record whether the plugin is actually available and use that to skip loading it in the second pass. BUG=51546 Review URL: http://codereview.chromium.org/3114005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55609 0039d316-1c4b-4281-b951-d872f2087c98
* Fix building with LOG_RESOURCE_REQUESTS defined.bryner@chromium.org2010-08-101-1/+1
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3040044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55597 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Reapplies r55259, the first new IPC definition patch.erg@google.com2010-08-1011-3/+81
| | | | | | | | | | | | | This moves MessageWithTuple::Read() back into the main ipc_message_utils.h header from the private ipc_messsage_utils_impl.h header. In release mode, this was causing link failures. BUG=51411 TEST=none Review URL: http://codereview.chromium.org/3069034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55587 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable the link to disable invididual plug-ins in a group.bauerb@chromium.org2010-08-101-2/+2
| | | | | | | | | BUG=51597 TEST=In about:plugins, click on "Details". There should be a link to enable/disable each individual plug-in in a plug-in group. Review URL: http://codereview.chromium.org/3038055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55541 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55449 - Fix some problems with ↵viettrungluu@chromium.org2010-08-101-6/+0
| | | | | | | | | | | | | | | | | | | TaskManagerBrowserTest.PopulateWebCacheFields: - wait for an actual update to occur; otherwise we're not testing the real thing - change DCHECKs to EXPECT_EQs; that's what we should use in tests This change should also fix the crashiness of this test. TEST=browser_tests BUG=42301 Review URL: http://codereview.chromium.org/2856091 TBR=phajdan.jr@chromium.org,glen@chromium.org Review URL: http://codereview.chromium.org/3118003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55530 0039d316-1c4b-4281-b951-d872f2087c98
* 1. ipc_video_decoder.cc/h is media pipeline filter which use the gpu decoder ↵jiesun@google.com2010-08-103-0/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | facilities in video stack. it is only enabled when (a) hardware composition is on (b) hardware decoding command line is on (c) h264 codec is specified. 2. gpu_video_service.cc/h is a singleton in gpu process which provide video services for renderer process, through it we could create decoder. ( in my imagination, in the future, we could create encoder or capturer too) 3. gpu_video_decoder.cc/h. abstract interface for hardware decoder. 4. gpu_video_service_host.cc/h is singleton in renderer process which provide proxy for gpu_video_service. 5. gpu_video_decoder_host.cc/h is proxy for gpu_video_decoder. (1 to 1 map).basically there is one global GpuVideoService in GPU process, one GpuVideoServiceHost in Renderer process. for each renderer process, there are could be multiple renderer view, each could had multiple GpuVideoDecoderHost the connect to GpuVideoDeocder through GPUCHannelHOst/GpuChannel. 6. gpu_video_common.cc/h: IPC message definition and pickle/marshaling support. ISSUES: 1. in media pipeline, we need let decoder to determine if bit stream filter should be used instead of let command line to determine it. 2. stop readback from D3D surface use ANGLE. 3. Flush logic still need fine tuning. 4. CreateThread in GpuVideoDecoder, and post message in message handler, and derived classs handle message loop. ? 5. Error handling. 6. Input ring buffer implementation. Current impl is naive. 7.Add output queue for MFT decoder. 8. Query Capabilities at GetVideoServices()... BUG=None TEST=Windows7 Review URL: http://codereview.chromium.org/2873089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55516 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55450 - Fix CheckFalseTest.CheckFails on Linux after my change to ↵glen@chromium.org2010-08-091-0/+3
| | | | | | | | | | | | | | | | | | | | | ui_test. This makes PathService clear its cache after overriding a path. We have many paths depending on each other, so this is necessary to avoid inconsistencies. Added a comment that PathService::Override should not be called by production code. TEST=ui_tests in Release mode BUG=49838 Review URL: http://codereview.chromium.org/2805100 TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3107001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55468 0039d316-1c4b-4281-b951-d872f2087c98
* Fix CheckFalseTest.CheckFails on Linux after my change to ui_test.phajdan.jr@chromium.org2010-08-091-3/+0
| | | | | | | | | | | | | | | | This makes PathService clear its cache after overriding a path. We have many paths depending on each other, so this is necessary to avoid inconsistencies. Added a comment that PathService::Override should not be called by production code. TEST=ui_tests in Release mode BUG=49838 Review URL: http://codereview.chromium.org/2805100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55450 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some problems with TaskManagerBrowserTest.PopulateWebCacheFields:phajdan.jr@chromium.org2010-08-091-0/+6
| | | | | | | | | | | | | | - wait for an actual update to occur; otherwise we're not testing the real thing - change DCHECKs to EXPECT_EQs; that's what we should use in tests This change should also fix the crashiness of this test. TEST=browser_tests BUG=42301 Review URL: http://codereview.chromium.org/2856091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55449 0039d316-1c4b-4281-b951-d872f2087c98
* Histograms & Field Trails about prefetchinggavinp@google.com2010-08-092-13/+14
| | | | | | | | | | | | This CL lands some histograms to track prefetching, and a 10% field trial enabling the feature to track performance. BUG=none TEST=none Review URL: http://codereview.chromium.org/3036050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55431 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55405 - Special thanks for in-ming cheng's MFT hardware decodering code.ananta@chromium.org2010-08-093-463/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. ipc_video_decoder.cc/h is media pipeline filter which use the gpu decoder facilities in video stack. it is only enabled when (a) hardware composition is on (b) hardware decoding command line is on (c) h264 codec is specified. 2. gpu_video_service.cc/h is a singleton in gpu process which provide video services for renderer process, through it we could create decoder. ( in my imagination, in the future, we could create encoder or capturer too) 3. gpu_video_decoder.cc/h. abstract interface for hardware decoder. 4. gpu_video_decoder_mft.cc/h media foundation transform hardware decoder which run on windows 7 only. 5. gpu_video_service_host.cc/h is singleton in renderer process which provide proxy for gpu_video_service. 6. gpu_video_decoder_host.cc/h is proxy for gpu_video_decoder. (1 to 1 map).basically there is one global GpuVideoService in GPU process, one GpuVideoServiceHost in Renderer process. for each renderer process, there are could be multiple renderer view, each could had multiple GpuVideoDecoderHost the connect to GpuVideoDeocder through GPUCHannelHOst/GpuChannel. 7. gpu_video_common.cc/h: IPC message definition and pickle/marshaling support. ISSUES: 1. in media pipeline, we need let decoder to determine if bit stream filter should be used instead of let command line to determine it. 2. stop readback from D3D surface use ANGLE. 3. Flush logic still need fine tuning. 4. CreateThread in GpuVideoDecoder, and post message in message handler, and derived classs handle message loop. ? 5. Error handling. 6. Input ring buffer implementation. Current impl is naive. 7.Add output queue for MFT decoder. 8. Query Capabilities at GetVideoServices()... BUG=None TEST=Windows7 Review URL: http://codereview.chromium.org/2873089 TBR=jiesun@google.com Review URL: http://codereview.chromium.org/3020077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55419 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55400 - Cleanup in base. This moves the implementation (and a bunch ↵nsylvain@chromium.org2010-08-095-18/+7
| | | | | | | | | | | | | | | | | | | | | | | | of header file dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3035062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55416 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55259 - FBTF: New IPC definitions, only applied to async ROUTED and ↵pinkerton@google.com2010-08-0911-81/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CONTROL messages. The slowest cc files in chrome include render_messages.h and other IPC message definitions. Including one of these files will bring in half of chrome because in the IPC system previously required full class definitions due to implementation details. The new system allows forward declarations and places the implementations of functions that need the full class definitions (ctor/dtor()/Log() and superclass ctor/Read() methods) into a separate xxx_messages.cc file using a parallel set of macros to ipc_message_macros.h. This has the added benefit of moving most of the template instantiation junk into a small number of files. Pros: - Will speed up compiling by a lot once everything is forward declared. - Already, intermediary .o/.a files are smaller. Cons: - Adds a 4th pass to the messages system, this time in a different header. BUG=51411 TEST=none Review URL: http://codereview.chromium.org/2873090 TBR=erg@google.com Review URL: http://codereview.chromium.org/3080040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55406 0039d316-1c4b-4281-b951-d872f2087c98
* Special thanks for in-ming cheng's MFT hardware decodering code.jiesun@google.com2010-08-093-0/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. ipc_video_decoder.cc/h is media pipeline filter which use the gpu decoder facilities in video stack. it is only enabled when (a) hardware composition is on (b) hardware decoding command line is on (c) h264 codec is specified. 2. gpu_video_service.cc/h is a singleton in gpu process which provide video services for renderer process, through it we could create decoder. ( in my imagination, in the future, we could create encoder or capturer too) 3. gpu_video_decoder.cc/h. abstract interface for hardware decoder. 4. gpu_video_decoder_mft.cc/h media foundation transform hardware decoder which run on windows 7 only. 5. gpu_video_service_host.cc/h is singleton in renderer process which provide proxy for gpu_video_service. 6. gpu_video_decoder_host.cc/h is proxy for gpu_video_decoder. (1 to 1 map).basically there is one global GpuVideoService in GPU process, one GpuVideoServiceHost in Renderer process. for each renderer process, there are could be multiple renderer view, each could had multiple GpuVideoDecoderHost the connect to GpuVideoDeocder through GPUCHannelHOst/GpuChannel. 7. gpu_video_common.cc/h: IPC message definition and pickle/marshaling support. ISSUES: 1. in media pipeline, we need let decoder to determine if bit stream filter should be used instead of let command line to determine it. 2. stop readback from D3D surface use ANGLE. 3. Flush logic still need fine tuning. 4. CreateThread in GpuVideoDecoder, and post message in message handler, and derived classs handle message loop. ? 5. Error handling. 6. Input ring buffer implementation. Current impl is naive. 7.Add output queue for MFT decoder. 8. Query Capabilities at GetVideoServices()... BUG=None TEST=Windows7 Review URL: http://codereview.chromium.org/2873089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55405 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in base. This moves the implementation (and a bunch of header filebrettw@chromium.org2010-08-095-7/+18
| | | | | | | | | | | | | | | | | | | dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55400 0039d316-1c4b-4281-b951-d872f2087c98
* Disable outdated non-sandboxed plugins.bauerb@chromium.org2010-08-095-3/+22
| | | | | | | | | | | Relanding r55227, which had a compile error. BUG=47731 TEST=Run with --disable-outdated-plugins Review URL: http://codereview.chromium.org/3071028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55394 0039d316-1c4b-4281-b951-d872f2087c98
* Add device motion runtime feature entry and the command line switch.pfeldman@chromium.org2010-08-092-1/+5
| | | | | | Review URL: http://codereview.chromium.org/3029066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55378 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup our Registry API.tfarina@chromium.org2010-08-091-4/+4
| | | | | | | | | | | | | | | | | | | | - Use wchar_t instead of TCHAR. - Use DCHECK instead of assert. - Remove this keyword (we don't use it on chromium). - Add DISALLOW_COPY_AND_ASSIGN to the classes. - Make it more compliant with chromium code style. - Remove ununsed methods. - Use arraysize macro for array size calculation instead of doing it manually. BUG=44644 TEST=trybots TODO: Write unittests for this API. TODO: Remove all the default arguments from the methods in this API. They aren't allowed by our style guide. Review URL: http://codereview.chromium.org/3007037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55375 0039d316-1c4b-4281-b951-d872f2087c98
* Convert occurrences of WideToUTF{8,16}(l10n_util::GetString...() ...viettrungluu@chromium.org2010-08-082-3/+3
| | | | | | | | | | | ... to l10n::GetString...UTF{8,16}(). BUG=23581 TEST=builds and tests pass Review URL: http://codereview.chromium.org/3054052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55371 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 5)thestig@chromium.org2010-08-072-2/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3041049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55349 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 4)thestig@chromium.org2010-08-072-2/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2819094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55345 0039d316-1c4b-4281-b951-d872f2087c98
* base: rename Environment::GetEnv to Environment::GetVar.tfarina@chromium.org2010-08-072-2/+2
| | | | | | | | | | | This is the part 4 and the latest of this series. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3029062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55326 0039d316-1c4b-4281-b951-d872f2087c98
* Re-apply r52616 (speed up docs generation) with a longer timeout.aa@chromium.org2010-08-065-485/+509
| | | | | | | | | | | This should prevent it from failing on debug builds. Also, fix the samples script to not generate different output depending on local filesystem paths. Review URL: http://codereview.chromium.org/3020076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55306 0039d316-1c4b-4281-b951-d872f2087c98
* rid of more OS_LINUX defines, to help the BSD port (work by sprewell & I)pvalchev@google.com2010-08-061-2/+2
| | | | | | Review URL: http://codereview.chromium.org/2089010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55289 0039d316-1c4b-4281-b951-d872f2087c98