summaryrefslogtreecommitdiffstats
path: root/webkit/extensions
Commit message (Collapse)AuthorAgeFilesLines
* Add chrome.benchmark routines to clear the host and predictor caches.tonyg@chromium.org2011-03-281-0/+24
| | | | | | | | | | | | This will be used in web-page-replay to enable TCP preconnect and DNS prefetch. BUG=None TEST=unit_tests passes Review URL: http://codereview.chromium.org/6660008 Patch from Ziga Mahkovec <ziga@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79610 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Gears from Chrome.aa@chromium.org2011-03-112-67/+0
| | | | | | | | | | There are probably a few more bits and pieces that can be removed, but I think this is the majority of it. BUG=51934 Review URL: http://codereview.chromium.org/6576020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77888 0039d316-1c4b-4281-b951-d872f2087c98
* Update benchmarking clearCache routine to be able to preserve sslhostinfo:mbelshe@chromium.org2011-02-151-3/+6
| | | | | | | | | | | | | | | | | | | related entries. * The clearCache() API is part of the benchmarking extension. * Modified clearCache() to take an argument so that we can selectively clear SSL information or not. * The actual clear data call used to just call DoomAllEntries. It still does that for clearing everything. If preserving the ssl host entries, however, it will enumerate the cache. Ran into cache invalidation upon calling doom, which makes the clear inefficient, but functional. BUG=none TEST=none Review URL: http://codereview.chromium.org/6529012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75027 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPS past WebKit move. Update gyp files and include paths to ↵abarth@chromium.org2011-01-171-1/+1
| | | | | | reflect the move. Consolidate how we DEPS in WebKit source files. Cross fingers. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71586 0039d316-1c4b-4281-b951-d872f2087c98
* Add some initial OWNERS files for src/webkit/.darin@chromium.org2011-01-141-0/+1
| | | | | | | | R=ben Review URL: http://codereview.chromium.org/6327005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71492 0039d316-1c4b-4281-b951-d872f2087c98
* Drop allocator dependency from base library.willchan@chromium.org2010-10-191-7/+35
| | | | | | | | | | | | | | | This will fix libnpapi_test_plugin from loading TCMalloc. This undoes the bad dependency from base to allocator added in http://src.chromium.org/viewvc/chrome/trunk/src/base/base.gyp?revision=43477&view=markup, which was required to fix the linux shared build, due to http://src.chromium.org/viewvc/chrome?view=rev&revision=41218 which added the base/profiler.cc compile-time dependency on TCMalloc (rather than a link-time dependency injection, relying on something like weak symbols) The purify/quantify dependency is indeed compile-time, and is appropriately done in profiler.cc. But, to simply this change, I've killed profiler.cc and only used it in the profiler extension. We can add it back if needed, but it's only been used in that one place for a long time anyway. BUG=59317,40467 TEST=make -j15 npapi_test_plugin && nm out/Debug/libnpapi_test_plugin.so | grep TCMalloc. Should be empty. Review URL: http://codereview.chromium.org/3783009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63082 0039d316-1c4b-4281-b951-d872f2087c98
* Move Stats, histograms, and field trial into a metrics subdirectory of base andbrettw@chromium.org2010-10-141-5/+6
| | | | | | | | | put them in the base namespace. TEST=it compiles BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62510 0039d316-1c4b-4281-b951-d872f2087c98
* Reland interval change.mbelshe@chromium.org2010-08-273-80/+29
| | | | | | | | | | | | | Move the chromium.Interval to chrome.Interval as part of the benchmarking extension. This means that users will need to use --enable-benchmarking to access it. It really shouldn't be part of the exposed API. BUG=none TEST=none Review URL: http://codereview.chromium.org/3240001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57638 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57386: nsylvain@chromium.org2010-08-263-29/+80
| | | | | | | | | | | | | | | | | | | | | The interval test started failing after we rolled back to a previous version of Webkit. This code does not seem to support it. Original description: Move the chromium.Interval to chrome.Interval as part of the benchmarking extension. This means that users will need to use --enable-benchmarking to access it. It really shouldn't be part of the exposed API. BUG=none TEST=none Review URL: http://codereview.chromium.org/3126029 TBR=mbelshe@chromium.org Review URL: http://codereview.chromium.org/3186033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57459 0039d316-1c4b-4281-b951-d872f2087c98
* Move the chromium.Interval to chrome.Interval as part of the benchmarkingmbelshe@chromium.org2010-08-253-80/+29
| | | | | | | | | | | | extension. This means that users will need to use --enable-benchmarking to access it. It really shouldn't be part of the exposed API. BUG=none TEST=none Review URL: http://codereview.chromium.org/3126029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57386 0039d316-1c4b-4281-b951-d872f2087c98
* Enable/Disable Spdy in benchmarking.lzheng@chromium.org2010-08-191-0/+15
| | | | | | | | Test=none Bug=52624 Review URL: http://codereview.chromium.org/3169022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56704 0039d316-1c4b-4281-b951-d872f2087c98
* Show a warning message if the cache might not be cleared between runs.mlloyd@chromium.org2010-07-021-0/+11
| | | | | | | | | BUG=None. TEST=Unit tests pass. Review URL: http://codereview.chromium.org/2819037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51541 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 51042 - Show a warning message if the cache might not be cleared ↵sky@chromium.org2010-06-281-11/+0
| | | | | | | | | | | correctly between runs. Review URL: http://codereview.chromium.org/2834025 TBR=mlloyd@chromium.org Review URL: http://codereview.chromium.org/2856018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51046 0039d316-1c4b-4281-b951-d872f2087c98
* Show a warning message if the cache might not be cleared correctly between runs.mlloyd@chromium.org2010-06-281-0/+11
| | | | | | Review URL: http://codereview.chromium.org/2834025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51042 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Show a warning message if the cache might not be cleared correctly ↵mlloyd@chromium.org2010-06-241-13/+0
| | | | | | | | | | between runs." This reverts SVN revision 50777. Review URL: http://codereview.chromium.org/2819024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50780 0039d316-1c4b-4281-b951-d872f2087c98
* Show a warning message if the cache might not be cleared correctly between runs.mlloyd@chromium.org2010-06-241-0/+13
| | | | | | | | | | | This new version adds a missing dep to webkit/DEPS. BUG=44688 TEST=trybots pass Review URL: http://codereview.chromium.org/2875010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50775 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Show a warning message if the cache might not be cleared correctly ↵mlloyd@chromium.org2010-06-231-13/+0
| | | | | | | | | | between runs." This reverts commit f98a0891c5baa2bc173fd93f22c18d5686d2c810 / revision 50623. Review URL: http://codereview.chromium.org/2856015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50627 0039d316-1c4b-4281-b951-d872f2087c98
* Show a warning message if the cache might not be cleared correctly between runs.mlloyd@chromium.org2010-06-231-0/+13
| | | | | | | | BUG=44688 Review URL: http://codereview.chromium.org/2841013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50623 0039d316-1c4b-4281-b951-d872f2087c98
* Fix files with svn:executable permissions.thestig@chromium.org2010-06-231-0/+0
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50566 0039d316-1c4b-4281-b951-d872f2087c98
* Actually clear the disk cache, and keep it enabled, between benchmark runs.mlloyd@chromium.org2010-06-051-3/+1
| | | | | | | | | | | | | Fixes a small TODO in the benchmarking extension. Keep the disk cache turned on during benchmarking, and doom all entries between benchmark runs, rather than disabling it entirely. BUG=none TEST=All tests pass. Review URL: http://codereview.chromium.org/669115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48994 0039d316-1c4b-4281-b951-d872f2087c98
* Land patch for WangXianzhu. See http://codereview.chromium.org/1556005/show ↵jnd@chromium.org2010-05-141-5/+18
| | | | | | | | | | | | for the details. BUG=39768 TBR=Wangxianzhu Review URL: http://codereview.chromium.org/2080002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47254 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate WebCore include paths when compiling Chromium code.darin@chromium.org2010-04-036-10/+4
| | | | | | | | | | | | | In the process of trying to do this, I discovered some unnecessary config.h includes as well as some remaining WebCore function calls. R=dglazkov BUG=none TEST=none Review URL: http://codereview.chromium.org/1521010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43574 0039d316-1c4b-4281-b951-d872f2087c98
* webkit/ ifdefs for BSD port; based on sprewell@jaggeri.com patchpvalchev@google.com2010-03-301-2/+2
| | | | | | Review URL: http://codereview.chromium.org/1483001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43053 0039d316-1c4b-4281-b951-d872f2087c98
* Support controlling the TCMalloc CPU profiler from script in test_shelljamesr@chromium.org2010-03-101-0/+13
| | | | | | Review URL: http://codereview.chromium.org/607008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41218 0039d316-1c4b-4281-b951-d872f2087c98
* Merge the LINUX_TC_MALLOC #define with the existing TC_MALLOC #define.thestig@chromium.org2010-02-261-2/+2
| | | | | | | | BUG=36687 TEST=about:tcmalloc, etc, works when tcmalloc is enabled on Linux. Review URL: http://codereview.chromium.org/660118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40080 0039d316-1c4b-4281-b951-d872f2087c98
* Rename CloseIdleConnections -> CloseCurrentConnections.mbelshe@chromium.org2010-01-141-1/+1
| | | | | | | | | | | | | | | | | This method is (and was) just for debugging; while it was closing idle connections, that was not aggressive enough; the benchmark needs to close all connections, not just the idle ones. To ensure connections are abandoned, create a new pool; leaving the old pool to languish as any pending sockets die. BUG=none TEST=none Review URL: http://codereview.chromium.org/549031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36208 0039d316-1c4b-4281-b951-d872f2087c98
* Point #include lines to files in the new tcmalloc/chromium local branch.sgk@chromium.org2009-12-011-1/+1
| | | | | | | | | Add +third_party\tcmalloc to webkit\DEPS. BUG=27911 TEST=none Review URL: http://codereview.chromium.org/449016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33440 0039d316-1c4b-4281-b951-d872f2087c98
* Move benchmark extension example to new location and clean it up to use ↵erikkay@chromium.org2009-11-121-1/+1
| | | | | | | | | | | browser actions rather than toolstrips. BUG=26106 TEST=none Review URL: http://codereview.chromium.org/384065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31815 0039d316-1c4b-4281-b951-d872f2087c98
* linux: TCMalloc-based C++ heap profiler.willchan@chromium.org2009-11-112-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requires compiling with linux_use_tcmalloc=1. When enabled by --heap-profiler flag in test_shell exposes chromium.HeapProfiler object to JavaScript. The object has three methods: o start() -- starts profiling o dump() -- dumps data accumulated since start() to file named like chromium-YYYY-MM-DD-TS.heap o stop() -- stops profiling. Output can be analyzed by third_party/tcmalloc/tcmalloc/src/pprof. For example: $ third_party/tcmalloc/tcmalloc/src/pprof \ sconsbuild/Release/test_shell \ chromium-2009-11-06-1234567890.heap See http://code.google.com/p/google-perftools/ for details on how to use pprof. Patch contributed by vitalyr@chromium.org. Original review at http://codereview.chromium.org/377010/show. TBR=vitalyr Review URL: http://codereview.chromium.org/390015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31688 0039d316-1c4b-4281-b951-d872f2087c98
* Preliminary fixes to enable link dependent objects.maruel@chromium.org2009-09-241-2/+2
| | | | | | | | BUG=22926 TEST=still builds Review URL: http://codereview.chromium.org/231020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27112 0039d316-1c4b-4281-b951-d872f2087c98
* Expose access for reading stats counters via thembelshe@google.com2009-07-171-7/+29
| | | | | | | | | | | | benchmarking extension. This extension is only available (already) when specifying chrome.exe --enable-benchmarking BUG=none TEST=none Review URL: http://codereview.chromium.org/149788 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21005 0039d316-1c4b-4281-b951-d872f2087c98
* Add an extension to expose some primitives to JS for doing mbelshe@google.com2009-06-052-0/+86
| | | | | | | | | | | | | | | | | benchmarking from within Chrome. Because the JS resides in the renderer and the HTTP logic resides in the browser, this required creation of two new, control messages which can be sent from the renderer to the browser. These are controlled under a new commandline option "--enable-benchmarking" BUG=6754 TEST=none Review URL: http://codereview.chromium.org/119191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17722 0039d316-1c4b-4281-b951-d872f2087c98
* Update playback extension so that javascript functions return consistent ↵ace@google.com2009-04-141-2/+6
| | | | | | | | (but not constant) values in an attempt to preserve the functionality but improve compatibility of the extension. Review URL: http://codereview.chromium.org/62165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13688 0039d316-1c4b-4281-b951-d872f2087c98
* NO CODE CHANGEdeanm@chromium.org2009-03-119-9/+0
| | | | | | | | | Normalize end of file newlines in webkit/. All files end in a single newline. Review URL: http://codereview.chromium.org/42070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11443 0039d316-1c4b-4281-b951-d872f2087c98
* Add API functions to control Quantify, as well as expose theseasargent@chromium.org2009-03-092-0/+113
| | | | | | | | | functions to javascript. Review URL: http://codereview.chromium.org/40255 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11291 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breakage on Mac.asargent@chromium.org2009-03-054-0/+4
| | | | | | | | TBR=darin Review URL: http://codereview.chromium.org/40189 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11049 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor v8 extensions so that they aren't in the WebCore namespace, and can ↵asargent@chromium.org2009-03-058-0/+259
call functions in the rest of Chromium code without having to go through ChromiumBridge (which now lives upstream in the WebKit repository). R=darin,mbelshe Review URL: http://codereview.chromium.org/40132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11040 0039d316-1c4b-4281-b951-d872f2087c98