summaryrefslogtreecommitdiffstats
path: root/webkit/blob
Commit message (Collapse)AuthorAgeFilesLines
* Revert 120290 - Revert 120283 - net: Use ClosePlatformFile() instead of ↵mkwst@chromium.org2012-02-031-0/+2
| | | | | | | | | | | close/CloseHandle(). TBR=mkwst@chromium.org,satorux@chromium.org Reverting my revert: this commit wasn't the culprit. Review URL: https://chromiumcodereview.appspot.com/9320060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120292 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 120283 - net: Use ClosePlatformFile() instead of close/CloseHandle().mkwst@chromium.org2012-02-031-2/+0
| | | | | | | | | | | | | Review URL: http://codereview.chromium.org/9315062 TBR=satorux@chromium.org We're guessing that this is causing timeouts on the Windows browser tests, see http://build.chromium.org/p/chromium/builders/Win7%20Tests%20%28dbg%29%286%29/builds/2695/steps/browser_tests/logs/stdio for example. :( Review URL: https://chromiumcodereview.appspot.com/9307081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120290 0039d316-1c4b-4281-b951-d872f2087c98
* net: Use ClosePlatformFile() instead of close/CloseHandle().satorux@chromium.org2012-02-031-0/+2
| | | | | | | | | | | | | | | | ClosePlatformFile() is guarded with ThreadRestrictions::AssertIOAllowed() that will catch bad pieces of code performing file IO on wrong threads. The original patch was reverted as it broke tests in debug builds. This version contains workarounds for the bad pieces of code. BUG=59849,72001,75548,112474,112512 TEST=try bots both release and debug Review URL: http://codereview.chromium.org/9315062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120283 0039d316-1c4b-4281-b951-d872f2087c98
* Added Net logging to FileStream.ahendrickson@chromium.org2012-02-021-2/+2
| | | | | | | | | | | | | The net logging doesn't currently do anything, but is ready if some system wants to pass it in. This is the first of 4 CLs that will enable net logging for downloads. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/9288084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120226 0039d316-1c4b-4281-b951-d872f2087c98
* remove build_webkit_exes_from_webkit_gyp flagdpranke@chromium.org2012-01-241-8/+1
| | | | | | | | | | R=tony@chromium.org BUG=105823 TEST=everything stays green Review URL: https://chromiumcodereview.appspot.com/9254040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118774 0039d316-1c4b-4281-b951-d872f2087c98
* Remove task.h and finish base::Bind() migration.ajwong@chromium.org2012-01-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Over 341 CLs, in ~3 months, touching 3251 unique files! Top 5 most CLs: (121) jhawkins ( 45) dcheng ( 24) achuith ( 23) csilv ( 12) tfarina ( 12) groby ~1000 files touched: (918) jhawkins 100+ files touched: (486) ajwong (385) willchan (372) dcheng (126) csilv (123) fischman (112) sergeyu 49+ files touched: (65) tfarina (57) acolwell (52) adamk (49) tzik BUG=35223 TEST=existing Review URL: http://codereview.chromium.org/9114020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116748 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: COnvert webkit/blob.jhawkins@chromium.org2011-12-223-22/+13
| | | | | | | | | | BUG=none TEST=none R=csilv Review URL: http://codereview.chromium.org/8949058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115474 0039d316-1c4b-4281-b951-d872f2087c98
* Update these includes to use the new header locationsabarth@chromium.org2011-12-031-3/+3
| | | | | | | TBR=darin Review URL: http://codereview.chromium.org/8787003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112824 0039d316-1c4b-4281-b951-d872f2087c98
* update dependencies in preparation for glue being a componentdpranke@chromium.org2011-11-301-0/+17
| | | | | | | | | | R=darin@chromium.org BUG=98755 TEST=waterfall stays green Review URL: http://codereview.chromium.org/8741002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112309 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to webkit/.avi@chromium.org2011-11-162-11/+15
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8539047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110357 0039d316-1c4b-4281-b951-d872f2087c98
* net: Move UnescapeRule into the net namespace.tfarina@chromium.org2011-11-151-1/+1
| | | | | | | | | | | BUG=64263 TEST=None R=willchan@chromium.org Review URL: http://codereview.chromium.org/8552002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110085 0039d316-1c4b-4281-b951-d872f2087c98
* Allow linker initialization of lazy instancejoth@chromium.org2011-11-151-2/+2
| | | | | | | | | | | | | | Using the initializer list construct = {0} allows the object to be linker initialized. Modify the LazyInstance class design to make it a pod aggregate type that can be linker initialized this way. Also combines the instance and state members, in line with the Singleton<> class design. Introduces a new LAZY_INSTANCE_INITIALIZER macro specifically for using to init all lazy instances + modify all existing callsites to use it. (Old code would no longer compile) BUG=94925 TEST=existing tests pass. http://build.chromium.org/f/chromium/perf/linux-release/sizes/report.html?history=150&header=chrome-si&graph=chrome-si&rev=-1 should step downward. TBR=jam@chromium.org,rvargas@chromium.org,darin@chromium.org,ben@chromium.org,apatrick@chromium.org,akalin@chromium.org Review URL: http://codereview.chromium.org/8491043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110076 0039d316-1c4b-4281-b951-d872f2087c98
* webkit: Remove 3 exit time destructor and turn on -Wexit-time-destructors.thakis@chromium.org2011-11-111-1/+2
| | | | | | | | | | BUG=101600 TEST=none Review URL: http://codereview.chromium.org/8524016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109700 0039d316-1c4b-4281-b951-d872f2087c98
* build blob as a component.dpranke@chromium.org2011-11-119-12/+77
| | | | | | | | | | | | | | | This is needed to fix a failing ui_test on the linux dbg shared bot; the failure was introduced in r109534 when I enabled the component build of content. This fix isn't perfect but it should do for now. TBR=michaeln@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/8508059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109589 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Cleanup of blog_url_request_job.*.jhawkins@chromium.org2011-10-183-32/+28
| | | | | | | | | | | BUG=NONE TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8345007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106119 0039d316-1c4b-4281-b951-d872f2087c98
* A few improvements to Blob handling.michaeln@google.com2011-10-178-199/+274
| | | | | | | | | | | | * Break large blobs into multiple ipcs during creation. * Use shared memory blocks for the xfer. * Rename some methods and IPCs for readability. * Cap memory usage in the browser process at 1G. BUG=97221 Review URL: http://codereview.chromium.org/7974011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105950 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert FileUtilProxy::StatusCallback.jhawkins@chromium.org2011-10-171-1/+2
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8318025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105925 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert FileUtilProxy::GetFileInfoCallback.jhawkins@chromium.org2011-10-172-7/+2
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8315012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105888 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert FileUtilProxy::CreateOrOpenCallback.jhawkins@chromium.org2011-10-172-2/+6
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8311010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105860 0039d316-1c4b-4281-b951-d872f2087c98
* net: Move EscapeForHTML() functions into net namespace.tfarina@chromium.org2011-10-131-5/+5
| | | | | | | | | | | BUG=64263 TEST=None R=willchan@chromium.org Review URL: http://codereview.chromium.org/8256006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105304 0039d316-1c4b-4281-b951-d872f2087c98
* Switch FileStream to use new CompletionCallback.willchan@chromium.org2011-10-122-5/+3
| | | | | | | | | | BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8139019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105042 0039d316-1c4b-4281-b951-d872f2087c98
* net: Move UnescapeURLComponent() functions into net namespace.tfarina@chromium.org2011-10-021-3/+3
| | | | | | | | | | | BUG=64263 TEST=None R=willchan@chromium.org Review URL: http://codereview.chromium.org/8109004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103677 0039d316-1c4b-4281-b951-d872f2087c98
* Begin CompletionCallback switchover.willchan@chromium.org2011-10-011-1/+1
| | | | | | | | | | | | | Rename CompletionCallback to OldCompletionCallback in preparation for introducing a new CompletionCallback based on base::Callback. Also renames other CompletionCallback types like CancelableCompletionCallback and TestCompletionCallback and CompletionCallbackImpl. All using sed with s/CompletionCallback/OldCompletionCallback/g. BUG=98719 TEST=none Review URL: http://codereview.chromium.org/8070013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103650 0039d316-1c4b-4281-b951-d872f2087c98
* Add MessageLoopProxy::currentnduca@chromium.org2011-08-152-2/+2
| | | | | | Review URL: http://codereview.chromium.org/7583053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96819 0039d316-1c4b-4281-b951-d872f2087c98
* Removed wchat_t from Time::FromString.shinyak@google.com2011-08-031-4/+4
| | | | | | | | | | | | Also, some of the test case are moved for pr_time_unittests to time_unittests. BUG=77962 TEST=base_unittests:TimeTest.* Review URL: http://codereview.chromium.org/7492063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95207 0039d316-1c4b-4281-b951-d872f2087c98
* Apply content-security-policy to chrome://appcache-internals and ↵tsepez@chromium.org2011-08-021-23/+13
| | | | | | | | | | | | chrome://blob-internals. Since these files live under /webkit, just hardcode the CSP directive rather than trying to read it from a resource bundle. Re-write the page to be compleltely free of javascript, falling back to form-posts, to avoid having to pull in an external file. Review URL: http://codereview.chromium.org/7518011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95093 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 94426 - Removed wchat_t from Time::FromString.morrita@chromium.org2011-07-281-4/+4
| | | | | | | | | | | | | | | Also, some of the test case are moved for pr_time_unittests to time_unitests. BUG=77962 TEST=base_unittests:TimeTest.* Review URL: http://codereview.chromium.org/7470038 TBR=shinyak@google.com Review URL: http://codereview.chromium.org/7520021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94427 0039d316-1c4b-4281-b951-d872f2087c98
* Removed wchat_t from Time::FromString.shinyak@google.com2011-07-281-4/+4
| | | | | | | | | | | | Also, some of the test case are moved for pr_time_unittests to time_unitests. BUG=77962 TEST=base_unittests:TimeTest.* Review URL: http://codereview.chromium.org/7470038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94426 0039d316-1c4b-4281-b951-d872f2087c98
* Deprecate RegisterProtocolFactory/(Un)RegisterInterceptor.willchan@chromium.org2011-07-191-2/+3
| | | | | | | | | | | | Mark those APIs as private and friend existing uses. BUG=none TEST=none Review URL: http://codereview.chromium.org/7397008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92992 0039d316-1c4b-4281-b951-d872f2087c98
* Strip fragments prior to looking up blob urls in our map of registered blobs.michaeln@google.com2011-07-181-2/+29
| | | | | | | | BUG=85607 TEST=manual Review URL: http://codereview.chromium.org/7376007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92871 0039d316-1c4b-4281-b951-d872f2087c98
* Change all the references from app_base to sql.tfarina@chromium.org2011-07-061-1/+0
| | | | | | | | | | | BUG=72317 TEST=None R=tony@chromium.org Review URL: http://codereview.chromium.org/7232040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91600 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 91288 - Change references from app_base to sql.cmp@chromium.org2011-07-011-0/+1
| | | | | | | | | | BUG=72317 TEST=None TBR=tfarina@chromium.org Review URL: http://codereview.chromium.org/7256004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91315 0039d316-1c4b-4281-b951-d872f2087c98
* Change references from app_base to sql.tfarina@chromium.org2011-07-011-1/+0
| | | | | | | | | | | BUG=72317 TEST=None R=rsesek@chromium.org Review URL: http://codereview.chromium.org/7294007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91288 0039d316-1c4b-4281-b951-d872f2087c98
* Remove msvs_guids from third_party, webkit, tools and views.tony@chromium.org2011-06-141-1/+0
| | | | | | | | BUG=28727 Review URL: http://codereview.chromium.org/7146001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89100 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 84783: BlobURLRequestJobTest uses URLRequest::job()jianli@chromium.org2011-06-091-3/+1
| | | | | | | | BUG=84783 TEST=existing tests since no new feature Review URL: http://codereview.chromium.org/7003070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88446 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to have chrome building with net.dllrvargas@google.com2011-06-031-0/+2
| | | | | | | | BUG=76997 TEST=none Review URL: http://codereview.chromium.org/7056049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87873 0039d316-1c4b-4281-b951-d872f2087c98
* Virtual destructors should have virtual keyword.hans@chromium.org2011-05-251-1/+1
| | | | | | | | | | | | | | | | | Make sure user-declared virtual destructors always have the virtual keyword. The Clang style-check plugin will check for this soon. No functionality change: virtual is only added to destructors that are already implicitly virtual. Also fix a couple of in-line destructor definitions. BUG=83408 TEST=none Review URL: http://codereview.chromium.org/7064033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_temp_dir and scoped_native_library back from base/memory to base.thakis@chromium.org2011-05-192-3/+3
| | | | | | | | | | | It looks like they got moved accidentally in http://codereview.chromium.org/6714032 BUG=none TEST=none Review URL: http://codereview.chromium.org/7048007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86010 0039d316-1c4b-4281-b951-d872f2087c98
* Globally replace <(library) with static_libraryevan@chromium.org2011-05-191-1/+1
| | | | | | | | | | | We provided <(library) as a variable to support a peculiar build configuration on Linux. We no longer support that build configuration, so we can simplify this code to no longer use a variable. Review URL: http://codereview.chromium.org/7051014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86004 0039d316-1c4b-4281-b951-d872f2087c98
* Remove more URLRequest::RegisterProtocolFactory calls.willchan@chromium.org2011-05-183-0/+96
| | | | | | | | | | | | | | 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
* Make NotifyHeadersComplete the last call in the function.aarya@google.com2011-05-181-2/+2
| | | | | | | 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
* iwyu: Include stringprintf.h where appropriate, part 1.jhawkins@chromium.org2011-05-101-0/+1
| | | | | | | | | | | BUG=82098 TEST=none R=thakis@chromium.org Review URL: http://codereview.chromium.org/6997006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84754 0039d316-1c4b-4281-b951-d872f2087c98
* Add a way to be notified when a deletable file reference is destroyed so thatbrettw@chromium.org2011-05-062-1/+18
| | | | | | | | | | | | | | | | callers can clean up any other state associated with it. I used this capability to revoke the renderer's permissions for a downloaded file. The old code path where it would revoke the permissions as soon as the download was complete (as indicated by the renderer) doesn't account for the case where the file is stored in a blob and that file reference outlives the resource request. BUG=81319 TEST=PPAPI.URLLoader Review URL: http://codereview.chromium.org/6930042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84500 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r83048 "Removed wchar_t from Time::FromString."maruel@chromium.org2011-04-261-4/+4
| | | | | | | | | | | | This causes regression on KeywordProviderTest.Edit on clang produced executable. TBR=shinyak BUG= TEST= Review URL: http://codereview.chromium.org/6893031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83055 0039d316-1c4b-4281-b951-d872f2087c98
* Removed wchar_t from Time::FromString.shinyak@google.com2011-04-261-4/+4
| | | | | | | | | | | | | Also, some of the test case are moved from pr_time_unittests to time_unittests. BUG=77962 TEST=base_unittests:TimeTest.* Review URL: http://codereview.chromium.org/6903022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83048 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-287-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* In BlobURLRequestJob, open files asynchronously to avoid blocking the IO threadadamk@chromium.org2011-03-143-72/+124
| | | | | | | | | | | | | | | | | | | | | (and tripping thread restriction asserts). The bug was found while trying to get FileWriter ui_tests to pass (see http://codereview.chromium.org/6609040/). This change also changes all callers to pass in a file_thread_proxy so the class can assume it's there and pass it to FileUtilProxy. Finally, it adds a BlobURLRequestJob test case that reads a file larger than the buffer size, to better exercise the job's behavior when ReadRawData() is called multiple times. BUG=75548 TEST=test_shell_tests,ui_tests Review URL: http://codereview.chromium.org/6612051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78079 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable FileWriterSync ui_tests by adding a ScopedAllowIO to ↵adamk@chromium.org2011-03-101-0/+4
| | | | | | | | | | | BlobURLRequestJob. BUG=75548 TEST=ui_tests Review URL: http://codereview.chromium.org/6666001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77705 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 74372.jianli@chromium.org2011-03-011-3/+6
| | | | | | | | | BUG=74372 TEST=Manual test Review URL: http://codereview.chromium.org/6602044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76432 0039d316-1c4b-4281-b951-d872f2087c98
* In Visual Studio 2010, pass a nullptr rather than NULL when building a ↵jeanluc@chromium.org2011-01-301-1/+10
| | | | | | | | | | | std::pair. See http://connect.microsoft.com/VisualStudio/feedback/details/520043/error-converting-from-null-to-a-pointer-type-in-std-pair BUG=71138 TEST=Successful compile Review URL: http://codereview.chromium.org/6366023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73120 0039d316-1c4b-4281-b951-d872f2087c98