| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
src\content as a dll. This CL
removes the IsDefaultPluginEnabled function in the webkit_glue namespace. This function has been replaced
by a flag in the PluginList instance which is set when the default plugin is registered as an internal plugin.
The webkit_glue.cc file now implements the GetApplicationDirectory and GetExeDirectory functions in the webkit_glue
namespace. Previously these functions were implemented in common_glue.cc and in test_shell.
Removed the IsPluginRunningInRendererProcess function from webkit_glue and fixed the callers to not depend on this
functionality.
BUG=82454
Review URL: http://codereview.chromium.org/6975028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85937 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
called back by FileSystemOperation.
Add tests for cancellation in FileSystem{,Dir}URLRequestJob to exercise this code;
without the scoped_refptr, the tests crash.
R=ericu@chromium.org
Review URL: http://codereview.chromium.org/7043018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85936 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- changed LazyInitialize() to post one more task to register origins for the very 1st-time initialization
- added some helper methods for GetLRUOrigin
- added some methods (including mock one) to kick eviction once we have initialized temporary storage
- sorted some newly-added QM methods as well
BUG=61676
TEST=not yet
Review URL: http://codereview.chromium.org/7032006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85930 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MemFree.
This also is a first stab at providing backwards-compatibility (even though in this case 0.3 will go away once everyone is ported). To use the new version, you need to 'opt-in' by adding the following line before including ppp_printing_dev.h:
#define PPP_PRINTING_DEV_USE_0_4
I have NOT updated the C++ wrapper. I can work on that next, although it would help to have some test code that relies on it to make sure I'm not breaking anything.
brettw: Please focus on the backwards-compatibility code, let me know what you think.
thestig: Please focus on print code.
I'd appreciate any tips on being able to test this better; I don't have access to the PDF plugin code. I verified that the existing plugin still works with this change by copying in libpdf.so, opening a PDF, and printing it.
BUG=80696
TEST=Manual. Try to print a PDF.
Review URL: http://codereview.chromium.org/6975018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85912 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** This patch is necessary not only for refactoring but to notify changes from FS to QM (call notifyStorageModified()) upon modifications. ***
- replaced usage cache code in QuotaFileUtilTest with QuotaUtil code
- this change required some other FileSystem tests to use correct sandbox path, so touched the FileSystem test code (namely LocalFileSystemFileUtilTest, FileSystemOperationTest and FileSystemOperationWriteTest) too.
- factored out some common code into a helper class (FileSystemTestOriginHelper) as I needed to make the same change again and again
BUG=61676
TEST=QuotaFileUtilTest.*, LocalFileSystemFileUtilTest.*, FileSystemOperationTest.*, FileSystemOperationWriteTest.*, FileWriterDelegateTest.*
Review URL: http://codereview.chromium.org/6975016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85884 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=61676
TEST=QuotaDatabaseTest.RegisterOrigins
Review URL: http://codereview.chromium.org/7039031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85881 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change includes :
* Merge EvictOriginData members into EvictionContext.
* Fix GetAvailableSpaceTest.
BUG=61676
TEST=QuotaManagerTest.GetUsageANdQuotaForEviction.
Review URL: http://codereview.chromium.org/7039006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85874 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=61676
TEST=QuotaDatabaseTest.BootstrapFlag
Review URL: http://codereview.chromium.org/7039056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85873 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This doesn't include proper quota integration, which will happen in a later CL.
Current status: seems to work [test_shell_tests and layout tests], barring
backwards-compatibility mode and File() issues [so turning the flag off just
gives you a broken filesystem for now, and any test that uses File() fails].
BUG=none
TEST=existing tests
Review URL: http://codereview.chromium.org/7036023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85872 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
("host-resolver-retry-attempts") to specify the number of retry
attempts to resolve host.
Relanding CL http://codereview.chromium.org/7011044/
BUG=82580
TEST=host resolver unit tests
TBR=eroman
Review URL: http://codereview.chromium.org/7011044
Review URL: http://codereview.chromium.org/7029050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85871 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=61676
TEST=QuotaDatabaseTest.InitializationFlag
Review URL: http://codereview.chromium.org/7042001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85867 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to specify the number of retry attempts to resolve host.
BUG=82580
TEST=host resolver unit tests
R=eroman
Review URL: http://codereview.chromium.org/7011044
TBR=rtenneti@chromium.org
Review URL: http://codereview.chromium.org/7044027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85854 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
to specify the number of retry attempts to resolve host.
BUG=82580
TEST=host resolver unit tests
R=eroman
Review URL: http://codereview.chromium.org/7011044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85852 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
filename for data URLs.
BUG=79905
TEST=Manual test and unittest added for net::GetSuggestedFilename
Review URL: http://codereview.chromium.org/7005011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85831 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
process.
This adds a function to the font interface to get the font list. Since we
don't have arrays or dictionaries in Pepper yet, I used a string with nulls
separating the names. A previous attempt to make a "font list resource" proved
excessively complicated and not actually much easier for clients to deal with.
This refactors the existing font list getting that used to be in the options
for the browser. I moved it to content and split it into two pieces, the
synchronous version, and then an asynchronous wrapper around that which both
the prefs code and the pepper code use. This cleaned up some of the preferences
code, and also fixes the leak of the entire font list in the code.
I used the new callback/bind system for the async font loading. I had to add
BrowserThread support for the new system.
This uses the PepperMessageFilter to listen for font load requests from the
plugin in the browser process. This is nice because we can add stuff here and
have messages serviced for both in-process and out-of-process plugins. This
proved to be complicated due to the HostResolver used in some of the existing
code, and thread restrictions for how to deal with it. This is why there are
two modes for the filter object.
I changed the delegates around for the Dispatcher. Now the PluginDispatcher
has the delegate interface since the HostDispatcher didn't actually need any
of them and we were accumulating a lot of empty functions in the
PepperPluginRegistry.
It's possible for the fonts to be loaded on Windows and Mac without IPC, since
enumerating fonts should be possible inside the sandbox. I didn't implement
this since it adds extra complexity and probably doesn't give that much
benefit.
TEST=manual
BUG=none
Review URL: http://codereview.chromium.org/7044012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85827 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move BlobProtocolHandler and FileSystemProtocolHandler into webkit directories.
Switch test_shell to use them.
Create a ChromeBlobProtocolHandler for chrome specific tweaks.
BUG=81979
TEST=none
Review URL: http://codereview.chromium.org/7036004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85778 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=trybots
Review URL: http://codereview.chromium.org/7039022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85773 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=61676
TEST=QuotaManagerTest.EvictOriginData
Review URL: http://codereview.chromium.org/7029007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85750 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=61676
TEST=QuotaManagerTest.GetAvailableSpaceTest
Review URL: http://codereview.chromium.org/7014042
Patch from Taiju Tsuiki <tzik@google.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85720 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
| |
BUG=82903
Review URL: http://codereview.chromium.org/7038017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85719 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From what I can see, callbacks from FileSystemOperation will always
happen on the calling thread, which is already the IO thread. Thus,
the io_loop_ member isn't needed, and the callbacks can be called directly.
This change is in preparation for a further refactoring of the
FileSystem URLRequestJobs.
R=ericu@chromium.org
Review URL: http://codereview.chromium.org/7017034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85713 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=23581
Review URL: http://codereview.chromium.org/7034021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85687 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=23581
Review URL: http://codereview.chromium.org/7037014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85672 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=82698
TEST=existing test chrome\test\functional\databases.py
Review URL: http://codereview.chromium.org/7031016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85645 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=FileSystemOperationWriteTest.*
TBR=hbono@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85640 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Updates to r10 of the upstream 'npapi-sdk' project headers (the replacement for npapi-headers). Also further reduces forking, by removing some old local changes that are no longer necassary.
BUG=42645
TEST=Everything still compiles
Review URL: http://codereview.chromium.org/7033014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85636 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=FileWriterDelegateTest with valgrind
TBR=hbono@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85625 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
patch based on: http://codereview.chromium.org/6973005/
BUG=74841
TEST=FileWriterDelegate.*
Review URL: http://codereview.chromium.org/7012037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85622 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: http://codereview.chromium.org/7019009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85618 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=61676
TEST=none
Review URL: http://codereview.chromium.org/7029009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85613 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
- moved usage-cache related implementation from SandboxQuotaClient to SandboxMountPointProvider, and
- renamed SandboxQuotaClient and FileSystemQuotaClient as now it doesn't depend on sandbox_provider.
BUG=74841
TEST=FileSystemQuotaClient.*
Review URL: http://codereview.chromium.org/6973005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85605 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=61676
TEST=SandboxQuotaClientTest.DeleteOriginTest
TBR=tzik@google.com
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85598 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=61676
TEST=SandboxQuotaClientTest.DeleteOriginTest
Review URL: http://codereview.chromium.org/7003021
Patch from Taiju Tsuiki <tzik@google.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85588 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=61676
TEST=to be added
Review URL: http://codereview.chromium.org/7035014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85583 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
builders that canary-webkit-revisions.py checks by default.
This is due to the builders restructuring.
TEST=run the script manually.
BUG=none
Review URL: http://codereview.chromium.org/7031003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85575 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=82078
TEST=none
Review URL: http://codereview.chromium.org/7013047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85543 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests and one data type change.
BUG=none
TEST=unit tests included
Review URL: http://codereview.chromium.org/7013054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85508 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
NotifyOriginInUse/NotifyOriginNoLongerInUse when frames are loaded/unloaded.
BUG=61676
TEST=appcache_host_unittest.cc
Review URL: http://codereview.chromium.org/6999008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85507 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=61676
TEST=QuotaDatabaseTest.*, (no tests for QuotaManagerTest.*).
Review URL: http://codereview.chromium.org/7033006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85480 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is useful, for example, in finding tests failing for many builders or only
for one builder.
Example:
$ ./webkit/tools/layout_tests/canary-webkit-revisions.py
...
**** Failing revisions *****
...
**** Failing tests ****
** Tests failing for 10 builders: Webkit Linux, Webkit Linux (dbg)(1), Webkit Linux 64, Webkit Mac10.5, Webkit Mac10.5 (dbg)(1), Webkit Mac10.6, Webkit Mac10.6 (dbg), Webkit Vista, Webkit Win, Webkit Win (dbg)(1) **
fast/canvas/webgl/context-lost-restored.html
** Tests failing for 8 builders: Webkit Linux, Webkit Mac10.5, Webkit Mac10.5 (dbg)(1), Webkit Mac10.6, Webkit Mac10.6 (dbg), Webkit Vista, Webkit Win, Webkit Win (dbg)(1) **
fast/canvas/webgl/gl-vertexattribpointer.html
...
** Tests failing for 1 builders: Webkit Linux **
fast/canvas/webgl/invalid-UTF-16.html
fast/canvas/webgl/null-object-behaviour.html
fast/replaced/003.html
**** Passing revisions *****
...
TEST=run the script manually
BUG=none
Review URL: http://codereview.chromium.org/6973026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85457 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Notify the QuotaManager of accesses and modifications to the amount of storage utlized.
* Still, the hard-coded 5MB limit is in place.
BUG=61676
TEST=database_tracker_unittest.cc, database_connections_unittest.cc
Review URL: http://codereview.chromium.org/7001014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85400 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
because it is off by default. In this patch, we explicitly turn the feature
on.
Review URL: http://codereview.chromium.org/7021008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85356 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Advice on how best to test this is welcome.
BUG=none
TEST=parts tested via existing unit tests; I'm not sure how to test the rest
Review URL: http://codereview.chromium.org/7011014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85351 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the "plugin.onmessage = function(x){...}" style vs the 'plugin.addEventListener' style, and it seems that we should prefer supporting the addEventListener style.
This breaks the ability to do "plugin.onmessage =" :-(. I expected dispatchEvent to do it for me, but it does not. To add that support (if desired), I could work on making dispatchEvent do it, or I could fake it out via the script in MessageChannel (Basically have the old path of invoking onmessage directly, plus the new dispatchEvent code).
Brett, please focus on PPAPI-specific stuff. Adam, please focus on my event code (especially message_channel.cc and the JavaScript in test_post_message.cc).
BUG=None
TEST=test_post_message.cc
Review URL: http://codereview.chromium.org/6901060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85348 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests.
This should help reduce WebKit gardening pain since all WebFrame implementations will reside in WebKit itself.
BUG=none
TEST=test_shell_tests
Review URL: http://codereview.chromium.org/6973051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85343 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This is functional and reasonably well-tested, but we'll still have to adapt the system a bit in order to use it.
BUG=none
TEST=included unit tests
Review URL: http://codereview.chromium.org/6955013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85332 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This has a bit of a change from the previous couple of resources that were
converted in that the ResourceCreationProxy now calls a static proxy function
for actually doing the work. It became too complicated and required that the
ResourceCreationProxy know a lot about the internals of the objects.
Did a little namespace cleanup. This renames "pp::shared_impl" to just use the
"ppapi" namespace. The "shared_impl" was ugly and didn't help anything. Some
files in that directory used "ppapi::shared_impl" instead which was even more
confusing.
Do a little build cleanup. The old ppapi_shared_proxy.gypi is now split into
two sub-files, one for ppapi_shared, and one for ppapi_proxy. It's hopefully
easier to find stuff now.
Review URL: http://codereview.chromium.org/7014024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85303 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This implements the communciation layers from the Renderer process
to the GPU process and back for the AcceleratedVideoDecoder PPAPI
interfaces.
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/6876004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85296 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=82078
TEST=none
Review URL: http://codereview.chromium.org/6973057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85275 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed version of issue 6904042.
BUG=61676
TEST='QuotaManagerTests.*'
Review URL: http://codereview.chromium.org/7004019
Patch from Taiju Tsuiki <tzik@google.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85263 0039d316-1c4b-4281-b951-d872f2087c98
|