summaryrefslogtreecommitdiffstats
path: root/webkit/child
Commit message (Collapse)AuthorAgeFilesLines
* base: Discardable memory types.reveman@chromium.org2014-01-082-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a DiscardableMemoryType enum and a function that can be used to select what type of discardable memory to use. This is generally useful for debugging purposes and when evaluating the performance of one implementation vs another. The unit test framework for discardable memory is improved slightly by testing every supported type on each platform rather then just the one specific type. Furthermore, it allows us to expose ashmem based discardable memory on ChromeOS in about:flags before we make it default. No change in behavior unless the new --use-discardable-memory=type switch is used. BUG=327516 TEST=base_unitttest --gtest_filter=DiscardableMemory* TBR=tomhudson@google.com Review URL: https://codereview.chromium.org/114923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243532 0039d316-1c4b-4281-b951-d872f2087c98
* Remove UTF string conversion functions from the global namespace.avi@chromium.org2013-12-261-1/+1
| | | | | | | | | | BUG=330556 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/102993018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242519 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of UTF conversions in ppapi/, printing/, remoting/, rlz/, ↵avi@chromium.org2013-12-251-2/+2
| | | | | | | | | | | | sandbox/, skia/, sql/, sync/, tools/, webkit/, win8/ to use the base:: namespace. BUG=330556 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/121123002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242502 0039d316-1c4b-4281-b951-d872f2087c98
* Add base:: to string16 in webkit/.dbeam@chromium.org2013-12-192-46/+48
| | | | | | | | | R=kinuko@chromium.org BUG=329295 Review URL: https://codereview.chromium.org/118503006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241817 0039d316-1c4b-4281-b951-d872f2087c98
* Move geometric types to a separate, more lightweight target.ben@chromium.org2013-12-181-0/+1
| | | | | | | | | R=sky@chromium.org http://crbug.com/327489 Review URL: https://codereview.chromium.org/109433013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241649 0039d316-1c4b-4281-b951-d872f2087c98
* Enable tcmalloc heap-profiler module on Windows.peria@chromium.org2013-12-111-1/+4
| | | | | | | | | | | | | | | | | | | This CL only enables heap-profiler in static build on Windows. With this CL, heap-profiler does not work fully. It outputs following information. - memory mapped files and their address regions - stack traces of malloc() calls Reference CL: http://crrev.com/11415113/ BUG=159993 Review URL: https://codereview.chromium.org/96153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240072 0039d316-1c4b-4281-b951-d872f2087c98
* Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to ↵brettw@chromium.org2013-12-032-2/+2
| | | | | | | | | | | base namespace. BUG= R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/102843002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238465 0039d316-1c4b-4281-b951-d872f2087c98
* Provide meaningful error description for failed requests.eustas@chromium.org2013-11-271-0/+3
| | | | | | | | | | EOM BUG=310310 Review URL: https://codereview.chromium.org/62003002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237540 0039d316-1c4b-4281-b951-d872f2087c98
* Remove temporary code after migration of Platform::updateTraceEventDurationwangxianzhu@chromium.org2013-11-212-8/+0
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/79373002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236603 0039d316-1c4b-4281-b951-d872f2087c98
* Cache the numberOfProcessors value on posix and expose it to blinkjochen@chromium.org2013-11-202-0/+5
| | | | | | | | | | | | We need to cache the value, so we can request it from blink after the sandbox was already turned on. BUG=321060 R=jam@chromium.org,mark@chromium.org,jamesr@chromium.org Review URL: https://codereview.chromium.org/67373006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236224 0039d316-1c4b-4281-b951-d872f2087c98
* Independently enable recording and event callbackwangxianzhu@chromium.org2013-11-202-1/+15
| | | | | | | | | | | | | | | | | | | | Previously we count TraceLog::SetEnabled() and SetDisabled() to allow nested calls from about:tracing and Timeline panel of the DevTools. Actually DevTools only needs the event callbacks, so we can allow the two features (recording for about:tracing, event callback for DevTools) to be independently enabled. Also don't count TraceLog::SetEnabled() and SetDisabled() to ease trace-startup and simplify the API semantics. BUG=none TEST=TraceEventCallbackTest.TraceEventCallbackAndRecording*, TraceEventTestFixture.* R=caseq@chromium.org, nduca@chromium.org, pfeldman@chromium.org, tony@chromium.org TBR=sky (for trivial call site change in content/browser/browser_shutdown_profile_dumper.cc) Review URL: https://codereview.chromium.org/66193005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236078 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite include paths for Blink public/ headers that have movedphilipj@opera.com2013-11-141-1/+1
| | | | | | | | | | | | | This is a prerequisite for removing the old (redirected) headers. In a few DEPS and in webview_plugin.cc the include was redundant and just removed instead. BUG=none Review URL: https://codereview.chromium.org/68683009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235116 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unused includes of webkit/glue/webkit_glue.htfarina@chromium.org2013-11-121-1/+0
| | | | | | | | | | | | | | | | | This patch was generated by: $ git grep -l webkit/glue/webkit_glue.h > list.txt $ for f in $(cat list.txt); do if ! grep -q 'PlatformFileInfoToWebFileInfo' $f ; then echo $f; fi; done $ for f in $(cat list.txt); do if ! grep -q 'SetJavaScript' $f ; then echo $f; fi; done BUG=None TEST=unit_tests, content_unittests R=thestig@chromium.org TBR=joth,avi,jamesr Review URL: https://codereview.chromium.org/59323005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234409 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WebKit namespace to blink (part 5)abarth@chromium.org2013-11-0742-301/+301
| | | | | | | | | | | | This CL updates all references to the WebKit namespace outside of content, chrome, and components. TBR=darin@chromium.org BUG=295096 Review URL: https://codereview.chromium.org/61553006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233518 0039d316-1c4b-4281-b951-d872f2087c98
* Extract webkit_child target from glue.tfarina@chromium.org2013-11-061-0/+134
| | | | | | | | | | | BUG=239107 TEST=everything still builds R=jamesr@chromium.org TBR=darin Review URL: https://codereview.chromium.org/54583005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233408 0039d316-1c4b-4281-b951-d872f2087c98
* webkit: Avoid use of discardable memory unless supported natively.reveman@chromium.org2013-11-061-0/+2
| | | | | | | | BUG=237681 Review URL: https://codereview.chromium.org/60273004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233187 0039d316-1c4b-4281-b951-d872f2087c98
* Add Platform::physicalMemoryInBytes to WebKitPlatformSupportImpl.rmcilroy@chromium.org2013-11-052-0/+5
| | | | | | | | BUG=312241 Review URL: https://codereview.chromium.org/50903003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233005 0039d316-1c4b-4281-b951-d872f2087c98
* Add discardable memory emulation for non-android/mac platformsvollick@chromium.org2013-10-301-2/+0
| | | | | | | | | | | | | | | Adds support for emulated discardable memory. The memory is managed by a provider which listens for memory pressure notifications from the platform. Currently, only android pushes these notifications, but in future patches, we will apply pressure on other platforms in certain situations (e.g., when a tab gets backgrounded). BUG=237681 Review URL: https://codereview.chromium.org/17106004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231845 0039d316-1c4b-4281-b951-d872f2087c98
* Remove temporary WebKitPlatformSupportImpl::addTraceEventNewwangxianzhu@chromium.org2013-10-242-27/+1
| | | | | | | | | | Final step of migrating WebKit TraceEvent to new API. BUG=trace-viewer:487 Review URL: https://codereview.chromium.org/29323007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230801 0039d316-1c4b-4281-b951-d872f2087c98
* Change WebKitPlatformSupportImpl::addTraceEvent() to new implwangxianzhu@chromium.org2013-10-232-5/+4
| | | | | | | | | | Step 4 of migrating WebKit TraceEvent to use new API. BUG=trace-viewer:487 Review URL: https://codereview.chromium.org/29303005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230520 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup deprecated and no longer needed blob revamp stuff, deadcode.michaeln@google.com2013-10-221-4/+0
| | | | | | | | | | R=kinuko@chromium.org TBR=darin BUG=174200 Review URL: https://codereview.chromium.org/29513003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230237 0039d316-1c4b-4281-b951-d872f2087c98
* Implement new WebKit::Platform trace_event APIs.wangxianzhu@chromium.org2013-10-222-0/+42
| | | | | | | | | | | | | | This is step 2 of migrating WebKit to use new trace_event API. addTraceEventNew() is temporarily named. Will be changed to addTraceEvent() when the migration to new trace_event API finishes. BUG=trace-viewer:487 R=tony@chromium.org Review URL: https://codereview.chromium.org/29503005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230225 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor DiscardableMemory for the upcoming DiscardableMemoryAllocator.pliard@chromium.org2013-10-213-20/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DiscardableMemory has the current limitation on Android that it's file-based thus uses file descriptor thus is a limited resource. This will be worked around in a future CL by adding DiscardMemoryAllocator operating on large pieces of discardable memory (thus using less file descriptors) and allowing the clients to operate on specific chunks. This CL prepares this addition by refactoring the existing DiscardableMemory implementation. It makes it a pure interface to allow the upcoming DiscardableMemoryAllocator to create instances of its own implementation of DiscardableMemory. This implementation won't be backed by files, only the allocator will. This also fixes some issues with the previous interface/implementation: - The fact that initialization happened through an Init() method which must be called only once. The only benefit of this design is to allow objects to be constructed on the stack. In practice all the current clients are allocating instances in the heap anyway (although not doing so would be a simple change). This also made the interface hard to use correctly but easy to use incorrectly. Implementation also systematically had to check that the object was correctly initialized. - The fact that unlock() did an munmap() while the class was providing a Memory() accessor. If the client stored the pointer returned by Memory(), did an Unlock(), then a Lock() (doing an mmap()) and accessed the memory through the previously saved pointer, he could have ended up doing uses after free. unmap() is not needed as part of memory unpinning AFAICT. - Some error code paths contained resource (e.g. fd) leaks. BUG=299828 TBR=tomhudson@chromium.org, darin@chromium.org Review URL: https://codereview.chromium.org/24988003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229838 0039d316-1c4b-4281-b951-d872f2087c98
* Android: limit image decoded size based on amount of physical memorywangxianzhu@chromium.org2013-10-041-4/+11
| | | | | | | | | | | | | | | | The previous change (https://codereview.chromium.org/23600067/) added limit for low end devices (memory <= 512MB). Now limit on all devices to display huge images without crash or displaying as corrupted images. This CL is still Android. The method might be also useful on other platforms but the best parameters may differ (may be affected by the swap memory). BUG=303848 Review URL: https://codereview.chromium.org/25938002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227063 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unnecessary DEPS file.jam@chromium.org2013-10-032-2/+0
| | | | | | Review URL: https://codereview.chromium.org/25660007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226685 0039d316-1c4b-4281-b951-d872f2087c98
* Network: wrong http-method is exposed for redirects.eustas@chromium.org2013-09-261-2/+4
| | | | | | | | | | | Redirects caused by response with status 301, 302, 305, 307 inherit original request http-method. BUG=270683 Review URL: https://codereview.chromium.org/22826002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225399 0039d316-1c4b-4281-b951-d872f2087c98
* Limit image decoded size on low end Android deviceswangxianzhu@chromium.org2013-09-262-0/+14
| | | | | | | | | | | Limit decoded size to 3M pixels on low end Android devices. The image decoder may downsample the images to meet the limit. BUG=276666 Review URL: https://codereview.chromium.org/23600067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225354 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce webkit_glue bridges for the new WebSocket Implementation.yhirano@chromium.org2013-09-242-2/+2
| | | | | | | | | | | | | | | We are implementing the new WebSocket implementation. This CL introduces WebSocketDispatcher, an IPC message dispatcher. WebSocketBridge and other bridge classes are also introduces. Currently this CL doesn't change any behavior because nobody uses the classes yet. BUG=275459 Review URL: https://chromiumcodereview.appspot.com/22815034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224955 0039d316-1c4b-4281-b951-d872f2087c98
* More Chromium Blob hacking to switch from bloburls to blobuuids.michaeln@chromium.org2013-09-241-3/+7
| | | | | | | | | | | | | | | | | This cr patch is needed prior to continuing work over on the blnk side. One of many in multi-side-patch-tango. This change introduces a compile time flag, USE_BLOB_UUIDS, to switch over to the new model. The old and new style of identifying these things are currently in place at the webkit api level. This flag tells chromium which to use. Blink is currently still using the old style urls and USE_BLOB_UUIDS is not defined. The flag will be set in the Blink patch that switches it over (it will be defined in WebBlobData.h). There is one blob use case (feedback extension api) up in /chrome that is handled a little differently. Instead of the compile time flag, it relies on a runtime check due to layering/deps rules. There is nothing in the contentAPI about blobs yet and that consumer relies on reading the blob data by urlfetching given only the internalurl/uuid. Also in this change are some minor cleanup to better indicate when we're working with a FileSystemUrl in particular. TBR=kalman BUG=174200 Review URL: https://chromiumcodereview.appspot.com/23898006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224906 0039d316-1c4b-4281-b951-d872f2087c98
* Add message strings for ValidationRange{Overflow,Underflow}DateTime.tkent@chromium.org2013-09-201-0/+4
| | | | | | | | BUG=161733 Review URL: https://chromiumcodereview.appspot.com/24267011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224349 0039d316-1c4b-4281-b951-d872f2087c98
* Update validation messsage strings for stepMismatch.tkent@chromium.org2013-09-181-0/+2
| | | | | | | | | | | These strings are imported from Mozilla's dom.properties with slight modifications. http://hg.mozilla.org/mozilla-central/file/ab4ccf3d6b60/dom/locales/en-US/chrome/dom/dom.properties BUG=161733 Review URL: https://chromiumcodereview.appspot.com/23934010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223985 0039d316-1c4b-4281-b951-d872f2087c98
* Add new localized strings for input[type=email].tkent@chromium.org2013-09-181-0/+14
| | | | | | | | | | | Blink puts fixed string parameters '@' and '.' to some strings to avoid to translate them. BUG=161733 Review URL: https://chromiumcodereview.appspot.com/23431028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223983 0039d316-1c4b-4281-b951-d872f2087c98
* Support byte range requests when routing resource requests directly through ↵jam@chromium.org2013-09-172-109/+114
| | | | | | | | | | | | | | | | | | the browser process. This also fixes a number of issues I saw when testing Netflix: -fix http status header not reaching plugin -send a Content-Type header if one isn't specified by the plugin for POSTs -null check info->headers, needed for data: URLs This doesn't support responding to 200s after a byte-range request. I'm gathering stats now to see how often this happens. BUG=286074 R=ananta@chromium.org, jschuh@chromium.org Review URL: https://codereview.chromium.org/23830007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223483 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of windows stuff from ui/base/win to ui/gfx/winben@chromium.org2013-09-121-1/+1
| | | | | | | | | R=sky@chromium.org BUG=103304 Review URL: https://codereview.chromium.org/23769011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222860 0039d316-1c4b-4281-b951-d872f2087c98
* Move ui/base/win/dpi.h to ui/gfx/dpi_win.hben@chromium.org2013-09-101-2/+2
| | | | | | | | | | | Also moves hidpi switch to gfx/switches.h R=sky@chromium.org http://crbug.com/103304 Review URL: https://codereview.chromium.org/23451036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222336 0039d316-1c4b-4281-b951-d872f2087c98
* Do not use deprecated TypeURL from WebHTTPBody::Element.tfarina@chromium.org2013-09-101-1/+1
| | | | | | | | | | | | | | | This enum type is deprecated, TypeFileSystemURL is the enum type that should be used instead. Blink will be updated after this lands. BUG=None TEST=None, no functional change. R=avi@chromium.org,jamesr@chromium.org Review URL: https://chromiumcodereview.appspot.com/24028004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222314 0039d316-1c4b-4281-b951-d872f2087c98
* Treat headers and HTTP status text as Latin-1davidben@chromium.org2013-09-091-21/+20
| | | | | | | | | | | | | | | | | | | | | We currently decode them as UTF-8, but they should be interpreted as Latin-1. (XHR specs the relevant parameters as WebIDL ByteString.) For response headers, this matches Firefox, IE, Opera 12, and Safari. For status text, this matches Firefox nightly, IE, Opera 12, and Opera. For request headers, this matches Firefox nightly, Opera 12, and Safari. Preparatory Blink CL disabled a layout test: https://src.chromium.org/viewvc/blink?revision=157238&view=revision This CL will be followed by a Blink CL to fix and re-enable the test, throw exception on non-Latin-1 setRequestHeader argument, and add a new layout test to verify this behavior. BUG=276769 Review URL: https://chromiumcodereview.appspot.com/23553007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222127 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium Blob hackingmichaeln@chromium.org2013-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start using BlobStorageContext (and family) as a replacement for BlobStorageController. The new class manages blob data by uuid and seperately maintains a mapping from of public blob urls to uuids. Added a methods to create an additional mapping of old-style 'private urls' to new-style uuids to help with transitioning, blink needs to be retrofitted too, but that has to happen separately. Changed blob processing classes to take BlobDataHandles as input instead of GURLs. Not long after IPC deserizliation, get a BlobDataHandle and pass that around. - FileSystemOperation.Write (and famlity) for FileWriter support - ResourceDispatcherHost (and famility) for blob url requests - (PostMessage handling and WebIntent plumbing ultimately needs to be treated in this way too) Switched to using string uuids instead of urls in IPC messages (and structs carried in ipc messages). Until blink is retrofitted, the chromiums side supports both forms of identifying blobs (old-style private urls and new-style uuids). - FileSystemHostMsg_Write - webkit_base::DataElement (and consumers: BlobData, ResourceRequestBody) - blob registry/building ipc messages Implemented the WebKit::WebBlobRegistryImpl such that it can be invoked on any renderer/worker thread. Got more explicit about naming: FileSystemURL vs BlobUUID vs PublicBlobURL. Note: There are corresponding changes to be made in Blink, after which, the things annotated as deprecated in this CL can be removed. TBR=inferno BUG=174200 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220754 Review URL: https://chromiumcodereview.appspot.com/23223003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221886 0039d316-1c4b-4281-b951-d872f2087c98
* Propagate the encoded data length through OnDownloadData delegate methodyusukesuzuki@chromium.org2013-09-032-5/+11
| | | | | | | | | | | | | | | | | | Since the encoded data length is intended to be used for the Inspector, it will only be valid while devtools are attached. Otherwise it becomes -1, -1 represents that the encoded data length is unknown. To propagate the encoded data length to Blink's didDownloadData delegate method, the IPC dispatcher provides it to Blink. Blink-side CL: https://chromiumcodereview.appspot.com/23632004/ After this change is landed, we'll remove the stub code in Blink-side. BUG=269055 Review URL: https://chromiumcodereview.appspot.com/23696002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221024 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused forward declaration in websocketstreamhandle_bridgetyoshino@chromium.org2013-09-021-6/+0
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/23556007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220820 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Chromium Blob hacking" This reverts r220754.tkent@chromium.org2013-09-021-1/+1
| | | | | | | | | | | It broke multiple blob layout tests. TBR=michaeln@chromium.org BUG= Review URL: https://codereview.chromium.org/23670004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220772 0039d316-1c4b-4281-b951-d872f2087c98
* Chromium Blob hackingmichaeln@chromium.org2013-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start using BlobStorageContext (and family) as a replacement for BlobStorageController. The new class manages blob data by uuid and seperately maintains a mapping from of public blob urls to uuids. Added a methods to create an additional mapping of old-style 'private urls' to new-style uuids to help with transitioning, blink needs to be retrofitted too, but that has to happen separately. Changed blob processing classes to take BlobDataHandles as input instead of GURLs. Not long after IPC deserizliation, get a BlobDataHandle and pass that around. - FileSystemOperation.Write (and famlity) for FileWriter support - ResourceDispatcherHost (and famility) for blob url requests - (PostMessage handling and WebIntent plumbing ultimately needs to be treated in this way too) Switched to using string uuids instead of urls in IPC messages (and structs carried in ipc messages). Until blink is retrofitted, the chromiums side supports both forms of identifying blobs (old-style private urls and new-style uuids). - FileSystemHostMsg_Write - webkit_base::DataElement (and consumers: BlobData, ResourceRequestBody) - blob registry/building ipc messages Implemented the WebKit::WebBlobRegistryImpl such that it can be invoked on any renderer/worker thread. Got more explicit about naming: FileSystemURL vs BlobUUID vs PublicBlobURL. Note: There are corresponding changes to be made in Blink, after which, the things annotated as deprecated in this CL can be removed. TBR=inferno BUG=174200 Review URL: https://chromiumcodereview.appspot.com/23223003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220754 0039d316-1c4b-4281-b951-d872f2087c98
* UMA data collector for cross-site documents(XSD)dsjang@chromium.org2013-08-231-1/+1
| | | | | | | | | | | Intercept cross-site documents and apply a couple of blocking filters to measure how our cross-site document blocking policy affects the renderer behavior. This doesn't actually block anything, but just records UMA data about how these filters work. It does three things: 1) whitelists legitimate XSDs (responses with whitelisted mime types or with valid CORS headers) 2) applies an appropriate content sniffing algorithm depending on the mime type of the response, 3) if it is sniffed as a blocked document, reports its status code and the context (img, script, etc) where the request is originally issued to measure the compatibility impact of the blocking. BUG=268640 Related Doc: https://docs.google.com/a/google.com/document/d/1nB3GruRqQmtA7OPZZAhWOsZDvfWpYpKQXE3cxGxTVfs/edit Review URL: https://chromiumcodereview.appspot.com/22254005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219383 0039d316-1c4b-4281-b951-d872f2087c98
* Add shadow bitmap resource for mac overhang shadow layersccameron@chromium.org2013-08-221-0/+1
| | | | | | | | | BUG=133097 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/23267002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219113 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: Remove webkit_chromium_resources.pak entries.tfarina@chromium.org2013-08-021-1/+1
| | | | | | | | | | | | | | | webkit_chromium_resources.pak was kept along side with blink_resources.pak, while DumpRenderTree was being updated on the Blink side, since that already happened and Blink has rolled into Chromium, we should be able to remove this now. TBR=tfarina@chromium.org BUG=265748 NOTRY=true Review URL: https://codereview.chromium.org/21952005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215397 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 215210 "Remove webkit_chromium_resources.pak entries." because it was ↵pkotwicz@chromium.org2013-08-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | causing the chromium_builder_qa to fail. I do not think the fix is complex, but I am not set up to build Chrome on Windows quickly Builder output: 804>Time Elapsed 00:05:33.76 809>------ Build started: Project: chromium_builder_qa, Configuration: Release Win32 ------ 809>Build started 8/2/2013 8:09:33 AM. 768>RC : fatal error RC1110: could not open ..\build\Release\obj\global_intermediate\webkit\webkit_chromium_resources.rc 768> 768> 768>Build FAILED. > Remove webkit_chromium_resources.pak entries. > > webkit_chromium_resources.pak was kept along side with blink_resources.pak, > while DumpRenderTree was being updated on the Blink side, since that already > happened and Blink has rolled into Chromium, we should be able to remove this > now. > > BUG=265748 > TBR=abarth@chromium.org, thestig@chromium.org > > Review URL: https://codereview.chromium.org/20628004 TBR=tfarina@chromium.org Review URL: https://codereview.chromium.org/21937002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215311 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webkit_chromium_resources.pak entries.tfarina@chromium.org2013-08-021-1/+1
| | | | | | | | | | | | | | webkit_chromium_resources.pak was kept along side with blink_resources.pak, while DumpRenderTree was being updated on the Blink side, since that already happened and Blink has rolled into Chromium, we should be able to remove this now. BUG=265748 TBR=abarth@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/20628004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215210 0039d316-1c4b-4281-b951-d872f2087c98
* Add the UMA PLT.BeginToFinish{,Doc}_AfterPreconnectRequest to measure PLT ↵kouhei@chromium.org2013-07-302-3/+8
| | | | | | | | | | | | | | just after mouseevent preconnect triggers. [Note to sheriff] This patch requires blink patch http://crrev.com/18598003 to be landed first. This UMA aims to measure PLT on link navigations with {mouse,gesture}-event preconnects. The PLT is to be compared between experiment/control groups using Finch. BUG=235361 Review URL: https://chromiumcodereview.appspot.com/18601004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214313 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete low-memory related methods from platform implemenation.jochen@chromium.org2013-07-262-30/+0
| | | | | | | | | BUG=260596 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/20142006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213803 0039d316-1c4b-4281-b951-d872f2087c98
* Update include paths in base for base/process changes.rsesek@chromium.org2013-07-251-1/+1
| | | | | | | | | | | | | | This also updates any stragglers that I missed, fixes mistakes I may have made, and deletes the forwarding headers. After this CL, the proces_util.h project is complete. BUG=242290 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/20265004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213702 0039d316-1c4b-4281-b951-d872f2087c98