summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_main_loop.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Re-land 16025005 with tiny fix for statics perf issuecrogers@google.com2013-06-221-1/+5
| | | | | | | | | | | 16025005 had review from: palmer@chromium.org, piman@chromium.org, scherkus@chromium.org BUG=163795 TBR=scherkus@chromium.org Review URL: https://codereview.chromium.org/17288018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208003 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 207992: This looks like a reland of r207983, which was reverted insadrul@chromium.org2013-06-221-5/+1
| | | | | | | | | | r207989. But it looks more like an accidental commit. TBR=crogers@google.com Review URL: https://codereview.chromium.org/17176031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207996 0039d316-1c4b-4281-b951-d872f2087c98
* don't include iostream.hcrogers@google.com2013-06-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use ChildThread for main loop - fix Android build whitespace fix minor style fix last minute compile fixes address Antoine's comments minor changes to reflect latest Blink API -- address palmer comments last minute include order fix address last minute style nits stub out other OSes support Takashi's MIDIAccessor fix minor build err undo param traits changes get rid of param_traits - other minor style nits address scherkus comments use int64 for ParamTraits WIP fix white-space issues more style basically working some cleanup -- support for multiple clients forgot midi_manager.cc Get MIDI port information sent to renderer formatting fixes lots of cleanup - added RequestAccess and Send style more style only bother sending received messages to renderer if approval was asked early steps to granting permission to Blink some progress to sending port info to Blink send client_id when requesting access fix minor style issues in .gyp files fix context/browser DEPS fix include paths git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207992 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 207983 "Implement Web MIDI API back-end"crogers@google.com2013-06-221-5/+1
| | | | | | | | | | | | | | | | | | > Implement Web MIDI API back-end > > This involves browser-side support and IPC for sending and receiving > MIDI messages. Initially support for OSX is included. > > BUG=163795 > R=palmer@chromium.org, piman@chromium.org, scherkus@chromium.org > > Review URL: https://codereview.chromium.org/16025005 TBR=crogers@google.com Review URL: https://codereview.chromium.org/17334006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207989 0039d316-1c4b-4281-b951-d872f2087c98
* Implement Web MIDI API back-endcrogers@google.com2013-06-221-1/+5
| | | | | | | | | | | | This involves browser-side support and IPC for sending and receiving MIDI messages. Initially support for OSX is included. BUG=163795 R=palmer@chromium.org, piman@chromium.org, scherkus@chromium.org Review URL: https://codereview.chromium.org/16025005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207983 0039d316-1c4b-4281-b951-d872f2087c98
* Minor cleanup to remove the static thread-safe methods on BrowserMainLoop. ↵jam@chromium.org2013-06-211-14/+6
| | | | | | | | | | Initially I thought this would be one getter so it seemed fine, but now it has 3 and more are on the way. Switch to one static getter for this class, and then getters for the member variables. I used dependency injection to allow access to these objects from other threads, which also cleaned up tests a bit. R=scherkus@chromium.org Review URL: https://codereview.chromium.org/17508005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207871 0039d316-1c4b-4281-b951-d872f2087c98
* Move plugin registry to after flag to switch conversionsehr@chromium.org2013-06-211-12/+12
| | | | | | | | | | This allows the "Portable Native Client" flag to work correctly. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3440 Review URL: https://chromiumcodereview.appspot.com/16959023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207736 0039d316-1c4b-4281-b951-d872f2087c98
* Remove speech recognition manager from iOS.milanb@chromium.org2013-06-171-2/+0
| | | | | | | | | | Speech recognition on iOS is moving to a new architecture. BUG=None Review URL: https://chromiumcodereview.appspot.com/16871007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206702 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: refactor setuid sandbox activation.jln@chromium.org2013-06-131-1/+14
| | | | | | | | | | | | | | | - Add a new --disable-setuid-sandbox flag to disable the setuid sandbox without disabling seccomp-bpf. - Knowledge of whether or not the sandbox is desired is in browser_main_loop.cc, so move the error message. - State intent to die with FATAL on unsupported configurations. BUG=245376 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/16866004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206114 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in content/browser/, part 1.avi@chromium.org2013-06-111-2/+2
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16755004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205449 0039d316-1c4b-4281-b951-d872f2087c98
* Trace time spent in BrowserMainLoop::MainMessageLoopStartandrewhayden@chromium.org2013-05-311-13/+53
| | | | | | | | BUG=222350 Review URL: https://chromiumcodereview.appspot.com/15713006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203279 0039d316-1c4b-4281-b951-d872f2087c98
* Use base::MessageLoop in more files.xhwang@chromium.org2013-05-301-2/+2
| | | | | | | | | | | These are either missed in the first pass, or added after the first pass. TBR=thestig@chromium.org BUG=236029 Review URL: https://codereview.chromium.org/16092013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203259 0039d316-1c4b-4281-b951-d872f2087c98
* Transition Web Speech Recognition from compile-time to run-time flagjanx@chromium.org2013-05-301-2/+0
| | | | | | | | | | | | | | | | This changes the purpose of the "ENABLE_INPUT_SPEECH" compile-time flag to guard only the x-webkit-speech API instead of all speech recognition code. The code shared between x-webkit-speech and the Web Speech API will now be compiled on Android, allowing the implementation of Web Speech Recognition. The latter is already guarded by the "enableScriptedSpeech" Blink run-time flag, which is active on every platform except Android, unless the command- line flag "--enable-speech-recognition" is specified. BUG=244422 Review URL: https://chromiumcodereview.appspot.com/15649004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203208 0039d316-1c4b-4281-b951-d872f2087c98
* base: Cleanup setting thread priorities (no functional changes).epenner@chromium.org2013-05-241-19/+6
| | | | | | | | | | | | | | | Priority can now be set via Thread/PlatformThread. BUG=170549 Some TBRs since this is just the result of a signature change that was already reviewed: TBR=sky@chromium.org TBR=jam@chromium.org TBR=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/15650004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202084 0039d316-1c4b-4281-b951-d872f2087c98
* Make the following GTK message non-fatal in Debug mode:phajdan.jr@chromium.org2013-05-231-0/+3
| | | | | | | | | | | | | | Could not find the icon 'application-zip'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases BUG=none R=erg@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/15771004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201830 0039d316-1c4b-4281-b951-d872f2087c98
* Move TSF IME initialization code from chrome to content.kochi@chromium.org2013-05-231-0/+12
| | | | | | | | | | | | Current the TSF IME handler (TextServicesMessageFilter) is created in chrome (chrome/browser/chrome_browser_main_win.cc). This should be moved to content/, that is IME should be functional for content, including being functional in content_shell. BUG=171176 TEST=run content_shell.exe on Win8 with --enable-text-services-framework and check manually if IME works Review URL: https://chromiumcodereview.appspot.com/15449002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201649 0039d316-1c4b-4281-b951-d872f2087c98
* Remove function level static initializers from VectorMath.dalecurtis@google.com2013-05-101-0/+3
| | | | | | | | | | | | | | | | | | Since VectorMath routines (and other features) are used both in the renderer process and the browser process, relying on InitializeMediaLibrary() alone is insufficient. Enter: InitializeCPUSpecificMediaFeatures(), a method which can be called from the browser process without initializing any of the loadable media modules. BUG=224662 TEST=media_unittests R=scherkus@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/15044005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199315 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a reason why GPU access is blocked.zmo@chromium.org2013-05-071-1/+1
| | | | | | | | | | | | | | This provides better information in about:gpu, which helps us to better diagnose GPU feature failures. Also, move the gpu access blocked message to the top as this is the most important message as compared with individual blacklist entry messages. BUG=237393 TEST=about:gpu shows gpu process fails to launch because of settings where gpu is turned off R=joi@chromium.org, kbr@chromium.org, sky@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/14697014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198570 0039d316-1c4b-4281-b951-d872f2087c98
* content: Use base::MessageLoop.xhwang@chromium.org2013-05-041-10/+11
| | | | | | | | | BUG=236029 R=avi@chromium.org Review URL: https://chromiumcodereview.appspot.com/14335017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198316 0039d316-1c4b-4281-b951-d872f2087c98
* [Chromium] Add tracing to startup process, particularly for Androidandrewhayden@chromium.org2013-05-031-7/+59
| | | | | | | | BUG=222350 Review URL: https://chromiumcodereview.appspot.com/13820011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198078 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.erg@chromium.org2013-04-171-13/+13
| | | | | | | | | | | In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes these in content/. BUG=232084 Review URL: https://codereview.chromium.org/14081010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194608 0039d316-1c4b-4281-b951-d872f2087c98
* Make the TCP Fast Open Flag modifiable from about:flags.rdsmith@chromium.org2013-04-101-6/+0
| | | | | | | | | | R=rch@chromium.org BUG=None Review URL: https://chromiumcodereview.appspot.com/12770035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193453 0039d316-1c4b-4281-b951-d872f2087c98
* Split the power monitoring feature from SystemMonitorhongbo.min@intel.com2013-04-031-0/+3
| | | | | | | | | | | | | | | | | | The SystemMonitor is a mixed monitor which not only monitors the power state changes but also the devices changes. This patch is to separate the power monitor from SystemMonitor as a new class PowerMonitor which is dedicated to monitor power state. The next step is to seek a opportunity to refactor SystemMonitor as something like DeviceMonitor. BUG=149059 TEST=base_unittests --gtest_filter=PowerMonitorTest.* Review URL: https://chromiumcodereview.appspot.com/10959020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192114 0039d316-1c4b-4281-b951-d872f2087c98
* Add a |scope| argument to TRACE_EVENT_INSTANT* and require its presence.simonjam@chromium.org2013-03-261-1/+2
| | | | | | | | | | | | | | The scope indicates how long the vertical line should be in the tracing UI. It can be global (full screen), process or thread (fill those tracks), or local (the original style for INSTANT). BUG=None Review URL: https://chromiumcodereview.appspot.com/12252058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190577 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor sandbox_policy.cc so that it doesn't contain the sandbox policies ↵jam@chromium.org2013-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | for all processes. Instead have whoever creates a sandboxed process set this data. This allows us to clean a few NaCl related changes in content: -remove NaCl sandbox rules from content -remove the hack for ifdef'ing out the GPU policy since it didn't link for nacl64.exe -remove the 1GB memory reservation for the NaCl loader process out of content Other cleanup: -renamed sandbox_policy.* to sandbox_win.* to match the other platform-specific sandbox files -moved BrokerGetFileHandleForProcess to internal content files since it's not called from outside -remove AddGpuDllEvictionPolicy since it was redundant (the one dll it removed was already listed in the generic list) There's still more cleanup to be done in the sandbox code (i.e. remove chrome frame switch, nacl process type switch etc). I will do that in future changes. BUG=191682 Review URL: https://codereview.chromium.org/12805004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189175 0039d316-1c4b-4281-b951-d872f2087c98
* net: split net/ssl out of net/basephajdan.jr@chromium.org2013-03-141-2/+2
| | | | | | | | | | | | | | | Also moves transport_security_state files to net/http. This change also updates the callers. R=wtc TBR=rsleevi,lambroslambrou,tony BUG=70818 Review URL: https://codereview.chromium.org/12680003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188119 0039d316-1c4b-4281-b951-d872f2087c98
* Android: Remove Surface cruftsievers@chromium.org2013-03-061-3/+1
| | | | | | | | | | | | | This removes unused Surface-related Java-level IPC plumbing. What is not needed anymore is the code to pass Surfaces to child processes. This was only used in a deprecated render path and for MediaPlayer being instantiated in the renderer (which is not supported anymore, it lives in the browser process now). Review URL: https://chromiumcodereview.appspot.com/12388038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186356 0039d316-1c4b-4281-b951-d872f2087c98
* Don't crash when the dconf settings backend can't connect to the session busjochen@chromium.org2013-03-051-0/+4
| | | | | | | | | | | | | | When running the content module e.g. within a screen session, it's not possible to connect to the dbus session bus. Don't crash when the corresponding warning is logged. BUG=179797 R=piman@chromium.org Review URL: https://chromiumcodereview.appspot.com/12386083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186086 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for browser process memory computing in memory tests.marja@chromium.org2013-02-251-6/+11
| | | | | | | | | | | | | | Get the browser memory directly from ProcessMetrics, avoid computing V8 memory directly. This will fix running the memory benchmark on Android. R=jochen,sky TBR=jam BUG=none Review URL: https://codereview.chromium.org/12226076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184384 0039d316-1c4b-4281-b951-d872f2087c98
* Initial fixes for TCP Fast Open.willchan@chromium.org2013-02-161-1/+1
| | | | | | | | | | | | | | | * Detect whether or not the system supports TCP Fast Open. * Don't enable TCP Fast Open if the system does not support/enable it. * Handle EWOULDBLOCK|EAGAIN by returning ERR_IO_PENDING so the client code knows to retry later (the failed TCP Fast Open sendto() will cause the kernel to do a connect() internally). There are loads of edge cases this doesn't catch yet. This is only intended for minimal testing, behind a command line flag. BUG=175623 Review URL: https://chromiumcodereview.appspot.com/12221131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182951 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a crash when running with --memory-metrics on Android.marja@chromium.org2013-02-111-1/+1
| | | | | | | | | | | The main_message_loop_ can stay NULL through this function. BUG=NONE Review URL: https://chromiumcodereview.appspot.com/12211072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181739 0039d316-1c4b-4281-b951-d872f2087c98
* MessageLoop's RUN method will pass a const ref to PendingTask whenrtenneti@chromium.org2013-02-031-2/+4
| | | | | | | | | | | | | | | | | TaskObserver's WillProcessTask and DidProcessTask methods are called. User's of TaskObserver get time_posted by accessing pending_task.time_posted. User's of TaskObserver get time_posted by accessing pending_task.time_posted. (would like to use this with SpdySession testing to verify a task is posted or not). R=jar@chromium.org, darin@chromium.org TESTS= all unit tests Review URL: https://chromiumcodereview.appspot.com/12161002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180302 0039d316-1c4b-4281-b951-d872f2087c98
* Move tracing code in content\browser to content\browser\tracing now that ↵jam@chromium.org2013-02-011-1/+1
| | | | | | | | | there's a separate directory. BUG=169170 Review URL: https://codereview.chromium.org/12149003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180071 0039d316-1c4b-4281-b951-d872f2087c98
* Native memory histograms for the browser.marja@chromium.org2013-01-311-0/+27
| | | | | | | | | | | | | | If a command line flag --memory-metrics is passed, the browser measures the memory consumption after processing each task and puts the data to a histogram. The histograms will be used in the memory_benchmark of Telemetry. BUG=160979 Review URL: https://chromiumcodereview.appspot.com/11975048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179909 0039d316-1c4b-4281-b951-d872f2087c98
* Add a WebUIControllerFactory in content and move chrome://webrtc-internals ↵jam@chromium.org2013-01-291-2/+5
| | | | | | | | | to content. BUG=169170 Review URL: https://codereview.chromium.org/12089034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179425 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up of url data manager classes in content: move URLDataSourceImpl to ↵jam@chromium.org2013-01-281-1/+1
| | | | | | | | | | its own file, move all the code to the content namespace, and remove the "Chrome" prefix from classes. TBR=scottmg BUG=169170 Review URL: https://codereview.chromium.org/12093012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179096 0039d316-1c4b-4281-b951-d872f2087c98
* Move core url data manager classes to content.jam@chromium.org2013-01-241-0/+3
| | | | | | | BUG=169170 Review URL: https://codereview.chromium.org/12049052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178663 0039d316-1c4b-4281-b951-d872f2087c98
* Do not call g_type_init when GLib version is 2.35 or above.qtc746@motorola.com2013-01-241-0/+5
| | | | | | | | | | | | | g_type_init will be deprecated in GLib 2.36. 2.35 is the developement version of 2.36. Hence stop calling g_type_init starting 2.35. BUG= None TEST= Compile content_shell Review URL: https://chromiumcodereview.appspot.com/12045055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178511 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Set ui/gpu/cc/ipc/upload/raster thread priorities.epenner@chromium.org2013-01-241-0/+22
| | | | | | | | | | | | | | | | This bumps up the ui/gpu/cc/ipc threads and bumps down the upload/raster threads. The webkit thread is left alone, as it needs to by dynamically adjusted (in another patch). To reduce risk and for easier merging we do this as #ifdefs and only for Android. This bug tracks abstracting the code and doing it on all platforms: http://crbug.com/170549 BUG=164651 Review URL: https://chromiumcodereview.appspot.com/11880014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178473 0039d316-1c4b-4281-b951-d872f2087c98
* Remove support for 'system' SSL on Mac (SecureTransport) and Win (SChannel)rsleevi@chromium.org2013-01-161-18/+2
| | | | | | | | | | | | | | | | | Remove support for the command-line fallback --use-system-ssl, as it adds to the maintenance burden and presents a security risk due to inconsistent patching by the OS vendors. On all platforms but Android, NSS is used for SSL in all situations. This does not change how certificate verification is handled, just the underlying SSL implementation. BUG=170214 TBR=sky Review URL: https://chromiumcodereview.appspot.com/11876044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177068 0039d316-1c4b-4281-b951-d872f2087c98
* Fix GpuChannelHost destruction races.piman@chromium.org2013-01-121-1/+4
| | | | | | | | | | | | | GpuChannelHost::MessageFilter can outlive GpuChannelHost, so make sure it doesn't use a raw pointer to it. Also ensure the BrowserGpuChannelHostFactory outlives the IO thread. BUG=168282 Review URL: https://chromiumcodereview.appspot.com/11886005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176557 0039d316-1c4b-4281-b951-d872f2087c98
* Tab Audio Mirroring/Capture: Browser-side connect/disconnect functionality:miu@chromium.org2013-01-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | 1. Added new AudioMirroringManager to dynamically match/route "divertable" audio streams with mirroring destinations. 2. Modified AudioOutputController to provide "divert audio data" functionality. 3. Modified AudioRendererHost to notify AudioMirroringManager of all audio streams. The intention is, in a later change, to introduce a "WebContentsAudioInputStream" which will implement the AudioMirroringManager::MirroringDestination interface introduced in this change. WCAIS will represent the lifetime of a tab audio mirroring session, calling AudioMirroringManager::Start/StopMirroring() as appropriate. Testing: 1. Rewrote most of unit testing for AudioOutputController, addressing bug 112500. Also added testing for the new Divert functionality. 2. Added extensive unit testing for the new Start/StopMirroring functionality in AudioMirroringManager. 3. Minor testing clean-ups/additions elsewhere. BUG=153392,112500 TEST=Run media_unittests and content_unittests. Review URL: https://chromiumcodereview.appspot.com/11413078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176295 0039d316-1c4b-4281-b951-d872f2087c98
* Removing unnecessary content:: namespace qualifier.darin@chromium.org2013-01-021-2/+1
| | | | | | | | | TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/11737002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174797 0039d316-1c4b-4281-b951-d872f2087c98
* Exclude PluginService for builds with enable_plugins==0nileshagrawal@chromium.org2012-12-201-1/+3
| | | | | | | | | | | | - Saves 140k in the final shared library (libchromeview.so) - Fixes all plugin related link errors during component build of content_shell_apk BUG=158821, 162667 Review URL: https://chromiumcodereview.appspot.com/11615002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174087 0039d316-1c4b-4281-b951-d872f2087c98
* Start GPU process earlier (when force-compositing mode is enabled).jbauman@chromium.org2012-12-081-17/+17
| | | | | | | | | | | This allows the renderer to not block on the GPU process on startup. Don't prelaunch GPU process if force-compositing-mode is disabled, because it probably won't be used in that case. BUG=163215,164609 Review URL: https://chromiumcodereview.appspot.com/11469022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171932 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 171370 due to perf regression on XP (bug 164609)akalin@chromium.org2012-12-071-15/+17
| | | | | | | | | | | | | | | | | > Start GPU process earlier. > > The GPU process was started a while after the renderer process, causing the renderer to have to wait for it to initialize. Moving the GPU process launch earlier saves around 40 ms for me. > > > BUG=163215 > > > Review URL: https://chromiumcodereview.appspot.com/11437008 TBR=jbauman@chromium.org Review URL: https://codereview.chromium.org/11464031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171829 0039d316-1c4b-4281-b951-d872f2087c98
* Start GPU process earlier.jbauman@chromium.org2012-12-061-17/+15
| | | | | | | | | | | | The GPU process was started a while after the renderer process, causing the renderer to have to wait for it to initialize. Moving the GPU process launch earlier saves around 40 ms for me. BUG=163215 Review URL: https://chromiumcodereview.appspot.com/11437008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171370 0039d316-1c4b-4281-b951-d872f2087c98
* Add content/browser/loader/ for resource loading related classes.darin@chromium.org2012-12-051-1/+1
| | | | | | | | | | | This infrastructure is shared by both renderer and worker processes, so having it live in renderer_host/ was not quite right. This change also nicely reduces the number of files in renderer_host/. R=jam@chromium.org Review URL: https://codereview.chromium.org/11414299 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171194 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 169449 - https://codereview.chromium.org/11364048/ increased the ↵xians@chromium.org2012-11-261-1/+3
| | | | | | | | | | | | | | | | startup time on Mac by 40% since the enumeration API is done on the main thread. Revert this first and will reland it once the problem is resolved. TBR=thakis@chromium.org BUG=161583 Review URL: https://codereview.chromium.org/11416184 TBR=xians@chromium.org Review URL: https://codereview.chromium.org/11308201 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169452 0039d316-1c4b-4281-b951-d872f2087c98
* https://codereview.chromium.org/11364048/ increased the startup time on Mac ↵xians@chromium.org2012-11-261-3/+1
| | | | | | | | | | | | | by 40% since the enumeration API is done on the main thread. Revert this first and will reland it once the problem is resolved. TBR=thakis@chromium.org BUG=161583 Review URL: https://codereview.chromium.org/11416184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169449 0039d316-1c4b-4281-b951-d872f2087c98