| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
thread-safe and expose its sync interface
BUG=124396
Review URL: https://chromiumcodereview.appspot.com/10910168
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158679 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, there can be any number of Clipboard objects, which can be massively simplified. This removes interfaces for fetching the Clipboard and makes everyone go through a single static ui::Clipboard::GetForCurrentThread() access point.
[Differences from the first patch: this may fix the pdf tests, but since I have no way to run them locally or on a trybot, this is going in blind.]
BUG=130805
R=jam@chromium.org
TBR=tc,ben,dcheng,kaiwang
First Review URL: https://chromiumcodereview.appspot.com/10911074
Review URL: https://chromiumcodereview.appspot.com/10916214
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156027 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
thread.
Currently, there can be any number of Clipboard objects, which can be massively simplified. This removes interfaces for fetching the Clipboard and makes everyone go through a single static ui::Clipboard::GetForCurrentThread() access point.
BUG=130805
TBR=tc (change in webkit/ is trivial)
Review URL: https://chromiumcodereview.appspot.com/10911074
TBR=erg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10919180
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155615 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change also takes care of turning on bundled Pepper Flash, if NPAPI Flash is enabled while Pepper Flash is disabled.
BUG=146869
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10911137
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155507 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, there can be any number of Clipboard objects, which can be massively simplified. This removes interfaces for fetching the Clipboard and makes everyone go through a single static ui::Clipboard::GetForCurrentThread() access point.
BUG=130805
TBR=tc (change in webkit/ is trivial)
Review URL: https://chromiumcodereview.appspot.com/10911074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155468 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change puts a menu option to restart chrome in desktop or
to restart chrome in metro mode and then wires up to the restart
helper.
BUG=141032
TEST=see bug
Review URL: https://chromiumcodereview.appspot.com/10885047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155263 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Includes several changes:
1) Stubs out jankometer
2) Makes some background-related profile code guarded by
ENABLE_BACKGROUND
3) Remove SingletonProcess because it's guaranteed by the OS.
4) If-def out first-run code and process startup code as it's necessary
handled in the Java layer on Android. In order to improve startup
performance, Chrome for Android runs startup code in the java layer
asynchronously with loading the native shared library. Re-using this
code would result in us blocking until the entire library is loaded into
memory.
5) Removes UMA code. UMA sessions are handled differently on Android as
the browser isn't ever killed and is instead paused/resumed.
6) Also removes things like ManagedMode/PageCycler which are unused on Android.
BUG=138184
Review URL: https://chromiumcodereview.appspot.com/10885023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154029 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
already created anymore.
BUG=143890
Review URL: https://chromiumcodereview.appspot.com/10827438
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153275 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
A step towards actually using BrowserMainPartsAndroid
BUG=138184
Review URL: https://chromiumcodereview.appspot.com/10875019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152881 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
the variations client team.
BUG=None
TEST=No user visible changes.
Review URL: https://chromiumcodereview.appspot.com/10828314
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151619 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert 150391 - Reverting this as it causes browser tests on the Linux ChromiumOS builder to fail.
Will revert back if it does not address the redness.
Revert 150380 - Add support for loading user cloud policy on desktop, behind the --load-cloud-policy-on-signin flag.
Move UserCloudPolicyManager to be owned by the Profile as a step towards supporting multiple profiles.
Added TestingProfile::Builder as a start towards taming the madness of all the different constructors and setters.
BUG=141123
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10693022
TBR=atwilson@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10823208
TBR=ananta@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10823212
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150404 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fail.
Will revert back if it does not address the redness.
Revert 150380 - Add support for loading user cloud policy on desktop, behind the --load-cloud-policy-on-signin flag.
Move UserCloudPolicyManager to be owned by the Profile as a step towards supporting multiple profiles.
Added TestingProfile::Builder as a start towards taming the madness of all the different constructors and setters.
BUG=141123
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10693022
TBR=atwilson@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10823208
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150391 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--load-cloud-policy-on-signin flag.
Move UserCloudPolicyManager to be owned by the Profile as a step towards supporting multiple profiles.
Added TestingProfile::Builder as a start towards taming the madness of all the different constructors and setters.
BUG=141123
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10693022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150380 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=compiles
Review URL: https://chromiumcodereview.appspot.com/10827080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149216 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL moves the printing.* prefs to the profile where they arguably
should have resided in the first place. Unit tests are simplified by
this change as the prefs can now be checked without verifying that local
state exists. There is no user-visible change as the prefs are not
exposed via the UI.
BUG=137814
TEST=all unit_tests pass, all printing browser_tests pass
Review URL: https://chromiumcodereview.appspot.com/10808006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148531 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved ExtensionEventRouter, ExtensionEventRouterForwarder,
ExtensionBrowserEventRouter into extensions namespace and renamed them
appropriately. Also some header file gardening.
BUG=137115, 117261
Review URL: https://chromiumcodereview.appspot.com/10696208
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147984 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=133088
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10698111
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145613 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also, rename chrome_variations::ID to chrome_variations::VariationID,
since there are other things in that namespace now (which was already
the case with the protobuf classes).
BUG=none
TEST=compiles
Review URL: https://chromiumcodereview.appspot.com/10693106
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145608 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10666005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143799 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This was not threadsave before and we were using it on the I/O and UI threads.
BUG=none
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/10543103
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142272 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
browser_process_impl.cc
DCHECK(CalledOnValidThread()) is better than BrowserThread::CurrentlyOn(...)
because it automatically supports unit test without requiring setting up
specific threads.
BUG=132643
TEST=Run Autofill tests in debug build
Review URL: https://chromiumcodereview.appspot.com/10545169
TBR=wangxianzhu@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10533143
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142066 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DCHECK(CalledOnValidThread()) is better than BrowserThread::CurrentlyOn(...)
because it automatically supports unit test without requiring setting up
specific threads.
BUG=132643
TEST=Run Autofill tests in debug build
Review URL: https://chromiumcodereview.appspot.com/10545169
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142048 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10540033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141353 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
They cause either build or runtime break when ENABLE_NOTIFICATIONS is undefined.
R=ben@chromium.org,sky@chromium.org
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10536035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140844 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
(BrowserMainLoop::ShutdownThreadsAndCleanUp()), instead of three times.
Review URL: https://chromiumcodereview.appspot.com/10502025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140442 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
At the moment, all the policy services are identical, but this will allow us to add different policies per profile.
BUG=128318
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10444008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139783 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BrowserList::GetLastActive() during shutdown.
http://crbug.com/129187
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10433006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138716 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved the NetworkConfigurationUpdater to chrome_browser_main_chromeos.
BUG=chromium-os:31112
TEST=Nothing breaks, ONC still works
Review URL: https://chromiumcodereview.appspot.com/10409053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138524 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=128328,127396
TEST=Starting chrome with --try-chrome-again=10001 doesn't crash in policy code anymore
Review URL: https://chromiumcodereview.appspot.com/10388211
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138460 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
is to avoid a nested message loop running other tasks that depend on objects which have already been destructed.
Also, instead of waiting 2 minutes for a job, wait _up to_ 2 minutes.
BUG=128824
Review URL: https://chromiumcodereview.appspot.com/10383254
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137996 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This makes no attempt to really rationalize/simplify this flow, just get it off the BrowserList.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10409022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137927 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
used for bundle JS libraries in future
like Google Analytics JS library.
Mark a test case flaky for OSX, and reland it.
BUG=122987
TEST=unit_tests --gtest_filter=ExtensionFileUtil.*
TEST=browser_tests --gtest_filter=ExtensionResourceRequestPolicyTest*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137794
Review URL: https://chromiumcodereview.appspot.com/9909019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137918 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
resources. It may be used for bundle JS libraries in future
like Google Analytics JS library.
BUG=122987
TEST=unit_tests --gtest_filter=ExtensionFileUtil.*
TEST=browser_tests --gtest_filter=ExtensionResourceRequestPolicyTest*
Review URL: https://chromiumcodereview.appspot.com/9909019
TBR=penghuang@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10409019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137808 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
used for bundle JS libraries in future
like Google Analytics JS library.
BUG=122987
TEST=unit_tests --gtest_filter=ExtensionFileUtil.*
TEST=browser_tests --gtest_filter=ExtensionResourceRequestPolicyTest*
Review URL: https://chromiumcodereview.appspot.com/9909019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137794 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
failures caused by it.
The CLs that this is restoring are http://codereview.chromium.org/10343007 and http://codereview.chromium.org/10381021.
BUG=121695
TEST=
Review URL: https://chromiumcodereview.appspot.com/10392007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137662 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10384098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136485 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original multi-profile work made this object use the system request context, which meant it never sent cookies to searchdomaincheck. This is bad because these are important to determining the correct domain to reply with.
Instead, there should be a different instance per-profile, and these instances should use the standard Profile-scoped cookie stores, so we send the relevant google.com cookies.
BUG=106086
TEST=Requests to searchdomaincheck should send cookies.
Review URL: https://chromiumcodereview.appspot.com/10377054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135959 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=125480
TEST=None
Review URL: http://codereview.chromium.org/10281007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134856 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
UI/IO threads.
TBR=brettw
Review URL: https://chromiumcodereview.appspot.com/10230007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134124 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Previously Pepper Flash FieldTrial was initialized before FieldTrialList, which caused it to be never enabled (and assertion in debug build). This CL fixes that.
- Besides, this CL shows Pepper Flash in about:plugins even if the field trial indicates that it should be disabled by default. In that case, it is shown below the internal Flash. Users can enable it mannually if they would like to.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/10224008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134016 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
local_state.
BUG=108999
TEST=Everything works as before
Review URL: http://codereview.chromium.org/9918028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130054 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is executed after MetricsService records Monitor size.
* Keep monitor objects instead of deleting them when root window is deleted. MetricsService needs this after Shell's root window is deleted.
* Moved Monitor class'es destructor to .cc as it has non trivial destructor.
R=ben@chromium.org
BUG=120563
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9791080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129712 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change makes ClientSocketPoolManager aware of SocketPoolType so it can
pick a different limit for normal socket pools and WebSocket socket pools.
As an initial (experimental) setting, number of max sockets per group for
WebSocket connections is raised to 30, and other limits are set to the same
value as normal socket pools. This configuration should be revisited later
when WebSocket protocol stack starts to work and a good amount of usage metrics
are collected.
BUG=118268
TEST=none
Review URL: http://codereview.chromium.org/9764003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128044 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Replace QueueWakeupTask() and |queue_wakeup_task_| with a "mode" argument to the constructor, which is simpler.
* Move some functions from public->private and add friends, to enforce that only the expected callers can access them.
* Reorder definitions to match declarations.
* Add/update a few comments.
* Change an AllSources() to AllBrowserContextsAndSources() to indicate that it's been reviewed and OKed for multiprofile.
* Remove some unneeded #includes.
* Disconnect unittests from |g_browser_process| and instead create and access a GoogleURLTracker directly. This removes a dependency that would have caused problems later when GoogleURLTracker moves off the browser process entirely.
* Remove a few apparently-unnecessary spins of the message loop.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9753017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127864 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's only disabled on Android to exclude automation from Android build.
enable_automation=0 still doesn't work on platforms other than Android.
BUG=117407
TEST=none
Review URL: http://codereview.chromium.org/9696049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127004 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
R=jam@chromium.org
TBR=willchan@chromium.org,mirandac@chromium.org,ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9648020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126089 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=98716
TBR=joi
Review URL: https://chromiumcodereview.appspot.com/9662048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126084 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We currently don't have the ability to print anything on Android.
* Exclude chrome/browser/printing and chrome/browser/ui/webui/print_preview
from the GYP rule for Android.
* Guards calls to various print functions.
BUG=http://crbug.com/113487
TEST=
Review URL: http://codereview.chromium.org/9447086
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124509 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/9566001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124430 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
and delete ResourceQueue.
Review URL: http://codereview.chromium.org/9395061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123718 0039d316-1c4b-4281-b951-d872f2087c98
|