- 03 Mar, 2012 40 commits
-
-
nfullagar@google.com authored
for Bastion. Todo added to re-enable when underlying sync is solved. BUG=http://code.google.com/p/chromium/issues/detail?id=116285 TEST=Bastion Review URL: http://codereview.chromium.org/9581034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124840 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/9584024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124839 0039d316-1c4b-4281-b951-d872f2087c98
-
akalin@chromium.org authored
Turn the GetSessionNameTask class into a simple GetSessionName function. Use the browser thread blocking pool instead of the FILE thread. Remove dependency on BrowserThread from internal_api. BUG=113723 TEST= Review URL: http://codereview.chromium.org/9565050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124838 0039d316-1c4b-4281-b951-d872f2087c98
-
gspencer@chromium.org authored
for fetching the GData file properties and for pinning files. BUG=chromium-os:27030,chromeium-os:27078 TEST=none Review URL: http://codereview.chromium.org/9545006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124837 0039d316-1c4b-4281-b951-d872f2087c98
-
jamescook@chromium.org authored
The toolbar background painting code was copying pixels out of the toolbar background image with the wrong vertical offset. I also moved the paint code into BrowserNonClientFrameViewAura so it can get the proper tabstrip vertical offset, and also because that's a more appropriate place for the logic. BUG=113075 TEST=visual, ensure no "step" in the gradient at the bottom of the active tab or the top of the toolbar, for both maximized and restored windows TBR=ben@chromium.org Review URL: http://codereview.chromium.org/9583032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124836 0039d316-1c4b-4281-b951-d872f2087c98
-
aa@chromium.org authored
This does not update the docs because they have gotten badly out of date. I will update them separately. BUG=116490 Review URL: http://codereview.chromium.org/9584021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124835 0039d316-1c4b-4281-b951-d872f2087c98
-
ronghuawu@chromium.org authored
BUG=116567 TEST=apprtc.appspot.com Review URL: http://codereview.chromium.org/9581015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124834 0039d316-1c4b-4281-b951-d872f2087c98
-
dmikurube@google.com authored
Revert 124832 - Update the tcmalloc chromium branch to r144 (gperftools 2.0), and merge chromium-specific changes. The major reason for us is to enable a fix for HEAP_PROFILE_MMAP. This change merges tcmalloc r144 (gperftools 2.0 f.k.a. google-perftools) with the tcmalloc/chromium branch, which is the forked Chromium version of tcmalloc. The change is created by 3-way merge from 1) the original google-perftools r109 ( = vendor base), 2) the original gperftools 2.0 r144 ( = branch), and 3) the chromium branch ( = another branch) with the following additional changes : * base/allocator/allocator.gyp is modified. * Many [#include "third_party/tcmalloc/chromium/src/google/..."] are replaced with "gperftools/". (Many files in Chromium) * gperftools/tcmalloc.h (formerly google/tcmalloc.h) is replaced with the original (generated) one. * windows/gperftools/tcmalloc.h (formerly windows/google/tcmalloc.h) is replaced with the original (generated) one. * malloc_hook-like functions are moved to libc_override*.h in gperftools 2.0. Some changes due to it. * MALLOC_HOOK_MAYBE_VOLATILE is redefined using __MALLOC_HOOK_VOLATILE. (config.h, tcmalloc.cc and libc_override_glibc.h) * The macro "CRASH(...)" is replaced with "Log(kCrash, __FILE__, __LINE__, ...)". (Many files) * LARGE_PAGE-related parameters (which may affect performance?) are merged. (common.h) * RAW_VLOG() calls are removed. (base/googleinit.h) * sys_{mmap|munmap|mremap}(...) calls are tentatively replaced with syscall(SYS_{mmap|munmap|mremap}, ...). (malloc_hook_mmap_linux.h) * tc_mallinfo is declared only when HAVE_STRUCT_MALLINFO is defined. (gperftools/tcmalloc.h) * "libc_override_redefine.h" is not included in Windows. (libc_override.h) * Chromium-original "sys_alloc" is not declared. (windows/port.cc) * base/spinlock_win32-inl.h is reverted from r144 because 64-bit atomicops are not implemented on Windows. (base/atomicops-internals-windows.h) The vendor branch is updated in another change. BUG=114302 TEST=run all existing tests. Review URL: https://chromiumcodereview.appspot.com/9311003 TBR=dmikurube@google.com Review URL: https://chromiumcodereview.appspot.com/9581043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124833 0039d316-1c4b-4281-b951-d872f2087c98
-
dmikurube@google.com authored
The major reason for us is to enable a fix for HEAP_PROFILE_MMAP. This change merges tcmalloc r144 (gperftools 2.0 f.k.a. google-perftools) with the tcmalloc/chromium branch, which is the forked Chromium version of tcmalloc. The change is created by 3-way merge from 1) the original google-perftools r109 ( = vendor base), 2) the original gperftools 2.0 r144 ( = branch), and 3) the chromium branch ( = another branch) with the following additional changes : * base/allocator/allocator.gyp is modified. * Many [#include "third_party/tcmalloc/chromium/src/google/..."] are replaced with "gperftools/". (Many files in Chromium) * gperftools/tcmalloc.h (formerly google/tcmalloc.h) is replaced with the original (generated) one. * windows/gperftools/tcmalloc.h (formerly windows/google/tcmalloc.h) is replaced with the original (generated) one. * malloc_hook-like functions are moved to libc_override*.h in gperftools 2.0. Some changes due to it. * MALLOC_HOOK_MAYBE_VOLATILE is redefined using __MALLOC_HOOK_VOLATILE. (config.h, tcmalloc.cc and libc_override_glibc.h) * The macro "CRASH(...)" is replaced with "Log(kCrash, __FILE__, __LINE__, ...)". (Many files) * LARGE_PAGE-related parameters (which may affect performance?) are merged. (common.h) * RAW_VLOG() calls are removed. (base/googleinit.h) * sys_{mmap|munmap|mremap}(...) calls are tentatively replaced with syscall(SYS_{mmap|munmap|mremap}, ...). (malloc_hook_mmap_linux.h) * tc_mallinfo is declared only when HAVE_STRUCT_MALLINFO is defined. (gperftools/tcmalloc.h) * "libc_override_redefine.h" is not included in Windows. (libc_override.h) * Chromium-original "sys_alloc" is not declared. (windows/port.cc) * base/spinlock_win32-inl.h is reverted from r144 because 64-bit atomicops are not implemented on Windows. (base/atomicops-internals-windows.h) The vendor branch is updated in another change. BUG=114302 TEST=run all existing tests. Review URL: https://chromiumcodereview.appspot.com/9311003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124832 0039d316-1c4b-4281-b951-d872f2087c98
-
vandebo@chromium.org authored
This may be causing this crash: Note: Google Test filter = PrerenderBrowserTest.PrerenderUnload [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from PrerenderBrowserTest, where TypeParam = [ RUN ] PrerenderBrowserTest.PrerenderUnload [2464:2324:0302/211059:6709843:FATAL:profile_dependency_manager.cc(134)] Check failed: false. Attempted to access a Profile that was ShutDown(). This is most likely a heap smasher in progress. After ProfileKeyedService::Shutdown() completes, your service MUST NOT refer to depended Profile services again. Move InitExtensions into ExtensionSystem. Remove a few accessors (ExtensionDevToolsManager, ExtensionMessageService). The others have too many callers to fix in one go. BUG=104095 TEST=Open and close an incognito window; should not crash. Review URL: http://codereview.chromium.org/9369013 TBR=yoz@chromium.org Review URL: https://chromiumcodereview.appspot.com/9583036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124831 0039d316-1c4b-4281-b951-d872f2087c98
-
vandebo@chromium.org authored
Mostly works, the only problem is that the first touch or gesture on switching "modes" gets lost because Windows doesn't start a touch of the "other" type when TouchRegisterWindow is called while there's a touch in progress. TBR=cpu Review URL: http://codereview.chromium.org/9549020 TBR=scottmg@chromium.org Review URL: https://chromiumcodereview.appspot.com/9572033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124830 0039d316-1c4b-4281-b951-d872f2087c98
-
pkasting@chromium.org authored
Also shortens one bit of code while I'm here. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9581029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124826 0039d316-1c4b-4281-b951-d872f2087c98
-
tzik@chromium.org authored
BUG=114732 TEST='existing tests' Review URL: http://codereview.chromium.org/9564047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124824 0039d316-1c4b-4281-b951-d872f2087c98
-
pkasting@chromium.org authored
Add a DeleteKey() method to delete a key from the meta table. This will be used in the TemplateURL refactoring changes. Reorder function definitions to match declaration order. Shorten a few bits. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9584031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124823 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124822 0039d316-1c4b-4281-b951-d872f2087c98
-
adamk@chromium.org authored
TBR=haraken@chromium.org Review URL: https://chromiumcodereview.appspot.com/9581035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124821 0039d316-1c4b-4281-b951-d872f2087c98
-
tfarina@chromium.org authored
R=pkasting@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9588003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124820 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
BUG=24672 TEST=none Review URL: https://chromiumcodereview.appspot.com/9484003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124819 0039d316-1c4b-4281-b951-d872f2087c98
-
jbates@chromium.org authored
TBR=jsbell BUG=113159, 116438 Review URL: https://chromiumcodereview.appspot.com/9585035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124818 0039d316-1c4b-4281-b951-d872f2087c98
-
yoz@chromium.org authored
Move InitExtensions into ExtensionSystem. Remove a few accessors (ExtensionDevToolsManager, ExtensionMessageService). The others have too many callers to fix in one go. BUG=104095 TEST=Open and close an incognito window; should not crash. Review URL: http://codereview.chromium.org/9369013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124817 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124816 0039d316-1c4b-4281-b951-d872f2087c98
-
vandebo@chromium.org authored
BUG=NONE TEST=NONE Review URL: https://chromiumcodereview.appspot.com/9585024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124815 0039d316-1c4b-4281-b951-d872f2087c98
-
benjhayden@chromium.org authored
BUG=115629 Review URL: http://codereview.chromium.org/9460010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124814 0039d316-1c4b-4281-b951-d872f2087c98
-
scottmg@chromium.org authored
Mostly works, the only problem is that the first touch or gesture on switching "modes" gets lost because Windows doesn't start a touch of the "other" type when TouchRegisterWindow is called while there's a touch in progress. TBR=cpu Review URL: http://codereview.chromium.org/9549020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124813 0039d316-1c4b-4281-b951-d872f2087c98
-
cduvall@chromium.org authored
Made the parentId argument for bookmarks.create() optional. The default is the "Other Bookmarks" folder. BUG=21410 TEST=Some of the bookmarks tests have been reported as flaky, so you will need to change "DISABLED_Bookmarks" to "Bookmarks" in chrome/browser/bookmarks/bookmark_extension_apitest.cc to run my test. My test is called createNoParentId. Review URL: http://codereview.chromium.org/9420041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124812 0039d316-1c4b-4281-b951-d872f2087c98
-
michaelbai@chromium.org authored
It is used to support the Android Bookmark Provider; It caches the favicon id, visit time, created time, bookmark information from thumbnail database, url database and BookmarkModel. The database is created in first access of AndroidProviderBackend, and deleted after history backend shutdown, synced before AndroidProviderBackend's Query, Insert, Update or Delete method called. BUG= TEST= Review URL: http://codereview.chromium.org/9549031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124811 0039d316-1c4b-4281-b951-d872f2087c98
-
sergeyu@chromium.org authored
BUG=114808 Review URL: http://codereview.chromium.org/9545010 TBR=sergeyu@chromium.org Review URL: https://chromiumcodereview.appspot.com/9585033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124809 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/8598030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124808 0039d316-1c4b-4281-b951-d872f2087c98
-
dhollowa@chromium.org authored
Fixes compile errors and marks failing tests as FAILED to get bots green. Will tackle proper fixes to tests in follow-on CLs. BUG=None TEST=ShellTest.FAILS_OverlappingWindowModeBasics, CompactLayoutManagerTest.FAILS_TransitionTest, RootWindowEventFilterTest.FAILS_TransformActivate, ToplevelWindowEventFilterTest.FAILS_EscapeReverts R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9585028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124807 0039d316-1c4b-4281-b951-d872f2087c98
-
jennb@chromium.org authored
Only PanelManager adds/removes panels from panel strips. Only exception is in tests. BUG=None TEST=Existing tests. Review URL: http://codereview.chromium.org/9560002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124806 0039d316-1c4b-4281-b951-d872f2087c98
-
toyoshim@chromium.org authored
Current unit test use locally defined kCloseCodeNormalClosure as a close code. Now, PPB_WebSocket provide API defined status codes. The test must use PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE instead of kCloseCodeNormalClosure. BUG=87310 TEST=ui_tests --gtest_filter='PPAPI*Test.WebSocket*' Review URL: http://codereview.chromium.org/9586015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124805 0039d316-1c4b-4281-b951-d872f2087c98
-
palmer@chromium.org authored
Previously, SSLInfo was given the cert chain as served by the server. It is more useful and correct to provide higher layers the cert chain as validated. BUG=77757, 87303, 115312 TEST=net_unittests SSLClientSocketTest.VerifyReturnChainProperlyOrdered Review URL: http://codereview.chromium.org/9442001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124804 0039d316-1c4b-4281-b951-d872f2087c98
-
fischman@chromium.org authored
Review URL: http://codereview.chromium.org/9545008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124803 0039d316-1c4b-4281-b951-d872f2087c98
-
keybuk@chromium.org authored
We support USB Bluetooth adapters being inserted and removed from our older Chromebooks, so as well as showing the Bluetooth settings on insertion we need a function to hide the settings pane again when the adapter is pulled out. BUG=chromium-os:27103 TEST=(with plumbing from later CL) removed adapter, verified the settings section vanished Change-Id: I1e820e4f660787e4f74c28761114459fc29352c5 Review URL: http://codereview.chromium.org/9568054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124802 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-admin@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124801 0039d316-1c4b-4281-b951-d872f2087c98
-
fischman@chromium.org authored
Only change: Silence genperf's success-related chatter. Review URL: http://codereview.chromium.org/9584027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124800 0039d316-1c4b-4281-b951-d872f2087c98
-
rkc@chromium.org authored
This CL implements the auto-logout feature for Kiosk mode. The timeouts are pulled from the kiosk_mode_helper class. This CL implements parts of the code for http://codereview.chromium.org/9265026/ Though this code is vastly refactored and reduced. R=xiyuan@chromium.org BUG=chromium-os:26045 TEST=Tested with the flag to ensure the feature works correctly. Review URL: http://codereview.chromium.org/9568038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124799 0039d316-1c4b-4281-b951-d872f2087c98
-
sergeyu@chromium.org authored
BUG=114808 Review URL: http://codereview.chromium.org/9545010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124797 0039d316-1c4b-4281-b951-d872f2087c98
-
yzshen@chromium.org authored
Minimized panels are not "minimized" from the OS point of view so they may receive focus when other windows are minimized or closed. This patch sets the flags on the minimized panels in such way that they are not activated by the OS but still appear in the Alt-Tab menu and on the taskbar. BUG=102721 TEST=Manually verify that minimized panels do not open spontaneously when other windows are closed, but are accessible through the taskbar and Alt-Tab. Review URL: http://codereview.chromium.org/9463022 TBR=aburago@chromium.org Review URL: https://chromiumcodereview.appspot.com/9593001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124795 0039d316-1c4b-4281-b951-d872f2087c98
-
rtenneti@chromium.org authored
can be enabled with command line flag --flow-control R=willchan TEST=network unittests BUG=116167 Review URL: http://codereview.chromium.org/9516009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124794 0039d316-1c4b-4281-b951-d872f2087c98
-