summaryrefslogtreecommitdiffstats
path: root/ppapi
Commit message (Collapse)AuthorAgeFilesLines
* Implemented broker dispatcher, pipe creation, and handle distribution.ddorwin@chromium.org2011-04-184-15/+72
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6865045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81951 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented PPB_Broker_Proxy.ddorwin@chromium.org2011-04-178-2/+371
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81888 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored ppapi Dispatcher to share common code between the plugin and ↵ddorwin@chromium.org2011-04-1611-164/+325
| | | | | | | | | | | | | broker dispatchers. Common code is in DispatcherBase. The base of the dispatcher for plugins remains Dispatcher. The base of the dispatcher for Brokers is BrokerDispatcher. BUG=none TEST=ppapi out-of-process plugins Review URL: http://codereview.chromium.org/6859003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81883 0039d316-1c4b-4281-b951-d872f2087c98
* Pre-buffer data from the host to the plugin in the PPAPI proxy to reduce thebrettw@chromium.org2011-04-152-11/+84
| | | | | | | | | | | impact of IPC latency on streaming data. This allows most resource requests to be returned synchronously from the URLLoader in the plugin. TEST=manual BUG=none Review URL: http://codereview.chromium.org/6870018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81833 0039d316-1c4b-4281-b951-d872f2087c98
* Added functionality to use "SaveAs..." from PDF plugin.gene@chromium.org2011-04-151-3/+12
| | | | | | | | | | | | | | | It is exactly the same experience as user right-click and select "SaveAs..." from pop-up menu. No disk access allowed for plugin. DIscussed it with Chris Evans and he is ok with this solution from the security stand point. Also added PDF resources for new UI. BUG=56072,75235 TEST=none, will send PDF cl separately. Review URL: http://codereview.chromium.org/6871020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81822 0039d316-1c4b-4281-b951-d872f2087c98
* Support PPB_Flash_ModileLocal blocking calls from background threads. This isbrettw@chromium.org2011-04-154-35/+413
| | | | | | | | | | | | | | | | | | | | | a temporary stopgap to allow these specific functions to be used until the entire proxy can support threading. There are two functions that set up and clean up the routing information in the interface. These are necessary because the global dispatcher routing information is not threadsafe. When used from the main thread, the code works the same as before. When used from a background thread, we create a sync message, send it to the I/O thread, and block the sending thread until the reply is received. There is no handling of other incoming blocking messages (which are impossible), and no other Pepper functions are supported from the background thread. TEST=manual BUG=none Review URL: http://codereview.chromium.org/6875009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81814 0039d316-1c4b-4281-b951-d872f2087c98
* Add trusted Instance C interfaces with scripting-related functions.dmichael@chromium.org2011-04-154-0/+132
| | | | | | | | | | | | | | | | | | Added to all_c_includes.h for C compilation test. TODO: -Wire these up in Chrome w/tests. -Add an InstanceTrusted C++ class. -Coordinate the move to these interfaces. -Remove the scripting functions from PPB_Instance and PPP_Instance. BUG=None TEST=it compiles Review URL: http://codereview.chromium.org/6850033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81760 0039d316-1c4b-4281-b951-d872f2087c98
* Draft version of the HW video decode tester and few other changes.scherkus@chromium.org2011-04-144-6/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intention is that this tester can be used to decouple HW decode accelerator integration from running the whole Chrome browser. Features: - Independent GUnit executable, which should be possible to use in autotests. - Mimics Renderer process from Gpu video pipeline perspective. * Test bench contains implementation of FakeClient which essentially mimics Renderer process from the GpuVideoDecodeAccelerator's point of view. * FakeClient runs on it's own thread and will communicate with using the IPC messages that are used also within the real use case. * FakeClient will allocate memories using same SharedMemory stuff as the real Renderer code. * Currently reads H.264 Annex B bitstream from file and parses it to NAL units before feeding to the decoder * TODO: Polish and improving the features and configurability. * TODO: GLES texture allocation for textures. - Allows building various test cases and error behaviour as well both on AcceleratedVideoDecoder interface as well as erroneous behaviour from the client. - Allows also checking expected order of calls if we want to enforce certain behaviour across various implementations. Patch by vmr@chromium.org: http://codereview.chromium.org/6720040/ BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81663 0039d316-1c4b-4281-b951-d872f2087c98
* Added documentation for the point.h file as an example for engineers to follow.jond@google.com2011-04-141-8/+69
| | | | | | Review URL: http://codereview.chromium.org/6825050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81640 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the ref-count issue related to the url_loader parameter of ↵yzshen@chromium.org2011-04-141-0/+24
| | | | | | | | | | | PPP_Instance.HandleDocumentLoad(). BUG=None TEST=None Review URL: http://codereview.chromium.org/6835002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81618 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the webkit::ppapi::URLLoader to use the underlying ↵bbudge@chromium.org2011-04-142-0/+22
| | | | | | | | | | AssociatedURLLoader for security checks, and convert URLRequest properties into the configuration for the AssociatedURLLoader. This Issue depends on http://codereview.chromium.org/6755015/ BUG=47354 TEST=ppapi_tests Review URL: http://codereview.chromium.org/6765040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81605 0039d316-1c4b-4281-b951-d872f2087c98
* Add CORS options to URL requests. This information will be used by the ↵bbudge@chromium.org2011-04-142-4/+25
| | | | | | | | | | | URLLoader to create the AssociatedURLLoader that sends the request. The CORS options are simplified to fit with what is already in PPAPI. For example, since we already have a trusted interface with universal access, setting the PP_URLREQUESTPROPERTY_ALLOWCROSSORIGINREQUESTS property TRUE corresponds to using access control to check the request. If we want to remove the trusted interface, then we should modify this CL so that we can specify Allow, Deny, or UseAccessControl. Also, I chose not to expose the SniffContent option from WebKit's loader. BUG=47354 TEST=test_shell_tests Review URL: http://codereview.chromium.org/6755015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81604 0039d316-1c4b-4281-b951-d872f2087c98
* Wire up the extension API for registering NaCl modules to an actual registry ↵abarth@chromium.org2011-04-145-9/+9
| | | | | | | | of NaCl modules. Review URL: http://codereview.chromium.org/6821038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81545 0039d316-1c4b-4281-b951-d872f2087c98
* Asynchronously create the ppapi broker.ddorwin@chromium.org2011-04-141-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6822012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81525 0039d316-1c4b-4281-b951-d872f2087c98
* Added ppp_broker.h and parameterized PpapiThread to support the broker process.ddorwin@chromium.org2011-04-144-4/+93
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6813071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81524 0039d316-1c4b-4281-b951-d872f2087c98
* Implement P2P Transport Dev using P2PTransportImpl.sergeyu@chromium.org2011-04-125-26/+201
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6823021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81331 0039d316-1c4b-4281-b951-d872f2087c98
* implemented latch support in renderer process. this corresponds with a ↵jbates@chromium.org2011-04-121-5/+7
| | | | | | | | | | | | | webkit patch. https://bugs.webkit.org/show_bug.cgi?id=58003 BUG=72671 TEST=see attachment in bug for test. only green should be seen. Review URL: http://codereview.chromium.org/6810009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81295 0039d316-1c4b-4281-b951-d872f2087c98
* Add proxy for PPP_Graphics_3D_Devpiman@google.com2011-04-126-0/+118
| | | | | | | | | BUG=none TEST=run OOP Flash, kill the GPU process, check that Flash got the message. Review URL: http://codereview.chromium.org/6823069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81294 0039d316-1c4b-4281-b951-d872f2087c98
* Fix r79718 (and brettw's ignoring of my review comments).viettrungluu@chromium.org2011-04-111-1/+2
| | | | | | | | | BUG=http://crosbug.com/11878 TEST=See bug -- grooveshark shouldn't crash. Review URL: http://codereview.chromium.org/6822039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81174 0039d316-1c4b-4281-b951-d872f2087c98
* 1;2cReplace PP_ERROR_WOULDBLOCK with PP_OK_COMPLETIONPENDING. Improve error ↵polina@google.com2011-04-1124-177/+188
| | | | | | | | | | code comments. Update all code that uses this error code. Keep the old code for now flagging it as deprecated. Update copyrights. BUG=none TEST=bots Review URL: http://codereview.chromium.org/6814033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81168 0039d316-1c4b-4281-b951-d872f2087c98
* Create a super-simple PPAPI demo plugin exercising GLES2 functionality.fischman@chromium.org2011-04-113-1/+169
| | | | | | | | | | | | Hopefully useful to future plugin authors who need to use GL as a rendering engine. BUG=none TEST=manual Review URL: http://codereview.chromium.org/6825003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81166 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the issue that context menu doesn't show on fullscreen Pepper Flash.yzshen@chromium.org2011-04-111-3/+3
| | | | | | | | | | | | | - generate WebInputEvent::ContextMenu events. - calculate the context menu position correctly. - monitor mouse down events on fullscreen render widget, so that we can pass correct timestamp to gtk_menu_popup. BUG=None. TEST=Open a fullscreen Youtube video, and right click on it to see whether context menu shows up or not. Review URL: http://codereview.chromium.org/6760019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81135 0039d316-1c4b-4281-b951-d872f2087c98
* The mime type list can be NULL to allow all files. Handle this case whenbrettw@chromium.org2011-04-111-1/+3
| | | | | | | | converting to a std::string for serialization (the backend treats empty string the same as NULL). Review URL: http://codereview.chromium.org/6824045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81134 0039d316-1c4b-4281-b951-d872f2087c98
* Create a VarPrivate interface to contain the scripting helper functions of Var.brettw@chromium.org2011-04-119-24/+385
| | | | | | | | | | | | Currently, the old functions are left in Var. When people have a chance to move to this new API, we can delete them from Var. This also adds new enums for ARRAY and DICTIONARY vars, and makes the var C++ wrapper forward-compatible with them by refcounting any enums that it doesn't know about. Review URL: http://codereview.chromium.org/6823016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81068 0039d316-1c4b-4281-b951-d872f2087c98
* Don't close the client file descriptor, it's owned by the channelpiman@google.com2011-04-082-28/+3
| | | | | | | | | BUG=chromium-os:13861 TEST=With pepper flash, go to a flash site. close the tab. shouldn't see any "close failed" message. Review URL: http://codereview.chromium.org/6825013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81001 0039d316-1c4b-4281-b951-d872f2087c98
* Reupload of http://codereview.chromium.org/6801053/dmichael@chromium.org2011-04-088-149/+29
| | | | | | | | | | My repo got messed up. BUG=None TEST=src/ppapi/tests/test_post_message.cc Review URL: http://codereview.chromium.org/6801053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80992 0039d316-1c4b-4281-b951-d872f2087c98
* Add parser and test filesnoelallen@google.com2011-04-087-22/+1068
| | | | | | | | | | | | | | | | This CL adds the PLY based parser, parser test files, and makes some additional cleanup to the lexer. The parser is part of a generator which is still under development. The parser can be run standalone which works as a test mode verifying success and failure tags it find in the sources embedded as comments. Adding the switch --output will print the AST. R=sehr@google.com BUG=77551 TEST=python idl_parser.py test_parser/*.idl Review URL: http://codereview.chromium.org/6754001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80933 0039d316-1c4b-4281-b951-d872f2087c98
* Expose scancodes to PP_InputEvent_Key events that are independent of the ↵wez@chromium.org2011-04-083-5/+37
| | | | | | | | | | | | | input language/layout in effect, i.e. that represent the physical key pressed, independent of its meaning in the current context. This will inherently rely on the nativeKeyCode field of Chrome's WebKeyboardEvents. BUG= TEST= Review URL: http://codereview.chromium.org/6691066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80918 0039d316-1c4b-4281-b951-d872f2087c98
* Allow re-entrancy in PPB_Flash::Navigate()piman@google.com2011-04-081-0/+8
| | | | | | | | | BUG=chromium-os:13912 TEST=pandora.com Review URL: http://codereview.chromium.org/6814034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80893 0039d316-1c4b-4281-b951-d872f2087c98
* Added PPB_BrokerTrusted interface and a basic Chrome implementation of it.ddorwin@chromium.org2011-04-072-0/+67
| | | | | | | | | | | The broker is not launched or connected yet. BUG=none TEST=none Review URL: http://codereview.chromium.org/6677178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80858 0039d316-1c4b-4281-b951-d872f2087c98
* Added and partially implemented entry points for PPB_GRAPHICS_3D.alokp@chromium.org2011-04-071-0/+1
| | | | | | Review URL: http://codereview.chromium.org/6814023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80830 0039d316-1c4b-4281-b951-d872f2087c98
* New and updated docs for pp_completion_callbackjond@google.com2011-04-071-16/+43
| | | | | | Review URL: http://codereview.chromium.org/6632012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80817 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper3D API change - merging PPB_Surface3D and PPB_Context3D into ↵alokp@chromium.org2011-04-072-22/+137
| | | | | | | | | | | | | | | | | | | PPB_Graphics3D. The original API was designed to be similar to EGL a couple of reasons: - EGL is a standard API that developers are familiar with and serves their purpose - It would be relatively easy to write an EGL implementation on top of Pepper3D implementation to facilitate porting of existing EGL apps However the restrictions in Pepper API do not allow certain use cases. The separation of context and surface allows using a single context to render to multiple instance or offscreen surfaces. But since each context is implicitly tied to a particular instance it is infeasible or confusing to draw to other instace surfaces. The offscreen use-case can be easily handled using Framebuffer objects (FBO). Writing an EGL wrapper for the new API should not be too difficult either. Combining context and surface has advantages: - Less complex API and implementation - Convinient versioning Please note that this is not ready to submit. I am only sending the proposed API. Once approved I will delete PPB_Surface3D and PPB_Context3D, and make other necessary changes to make sure everything compiles and works. Review URL: http://codereview.chromium.org/6745010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80791 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing PPB_Graphics2D::Describebrettw@chromium.org2011-04-061-3/+6
| | | | | | | | | BUG= http://code.google.com/p/chromium/issues/detail?id=78074 TEST= ppapi/tests/test_case.html?testcase=Graphics2D Patch by Sang Ahn Original Review http://codereview.chromium.org/6728034/ git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80638 0039d316-1c4b-4281-b951-d872f2087c98
* Make DidDestroy a sync IPC so that plugins can properly cleanup.piman@google.com2011-04-041-2/+2
| | | | | | | | | BUG=none TEST=go to youtube with debug pepper flash. quit. check that it doesn't assert that it couldn't save LSOs Review URL: http://codereview.chromium.org/6791027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80356 0039d316-1c4b-4281-b951-d872f2087c98
* Remove assertion when destroying a plugin that doesn't exist. The DidDestroybrettw@chromium.org2011-04-042-5/+4
| | | | | | | | | | | | function will always be called, so the proxy should always add it regardless of the initialization status. I also did some clarification of the Destroy path. BUG=78112 Review URL: http://codereview.chromium.org/6706025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80336 0039d316-1c4b-4281-b951-d872f2087c98
* Make DidChangeView async againpiman@google.com2011-04-011-3/+1
| | | | | | | | | | | The webkit bug has been fixed since then, so it works now. BUG=none TEST=youtube Review URL: http://codereview.chromium.org/6706012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80189 0039d316-1c4b-4281-b951-d872f2087c98
* Fix resource destruction in proxypiman@google.com2011-04-014-23/+25
| | | | | | | | | | | | | | | This ensures that the resource on the plugin side is destroyed before we send the message to the host, so that it has a chance to do proper cleanup. Also, fix Surface3D destruction that could cause a write-after-free. BUG=none TEST=go to youtube with out-of-process pepper flash. click on fullscreen. observe no hang, no crash Review URL: http://codereview.chromium.org/6771042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80188 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetPluginURL to PPB_URLUtil_Devpiman@google.com2011-03-319-2/+60
| | | | | | | | | BUG=chromium-os:13693 TEST=http://www.ford.com/cars/taurus/ with pepper flash Review URL: http://codereview.chromium.org/6740013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80085 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in major revision of Pepper video decode APIs.scherkus@chromium.org2011-03-3110-415/+741
| | | | | | | | | | | | Part of a patch by vmr@chromium.org: http://codereview.chromium.org/6541068/ BUG=none TEST=none Review URL: http://codereview.chromium.org/6776008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80028 0039d316-1c4b-4281-b951-d872f2087c98
* Unblock for all plugin->renderer messages to preserve the ordering for pluginbrettw@chromium.org2011-03-302-0/+13
| | | | | | | | | | | | | | | | | calls. This comes up if the renderer sent a sync message (say mouse down) and then the plugin responds by doing some setup with async messages (say configuring a URLRequest), and then issuing that request via a sync call (say PPB_Flash.Navigate). Without this, the navigate will be processed before the async messages because the renderer is currently blocked waiting for its own sync message to respond. This will cause reentrancy in the renderer. TEST=Flash BUG=none Review URL: http://codereview.chromium.org/6708125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79873 0039d316-1c4b-4281-b951-d872f2087c98
* IDL version of PPAPI interfaces.neb@chromium.org2011-03-3034-0/+2109
| | | | | | | | | BUG=none TEST=none yet... soon. Review URL: http://codereview.chromium.org/6726041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79857 0039d316-1c4b-4281-b951-d872f2087c98
* Convert C++ example in the comment to Cnfullagar@google.com2011-03-292-14/+21
| | | | | | | | test=none bug=none Review URL: http://codereview.chromium.org/6693038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79743 0039d316-1c4b-4281-b951-d872f2087c98
* Implement proxy for PPB_Flash_NetConnector.brettw@chromium.org2011-03-298-1/+422
| | | | | | | | TEST=manual BUG=none Review URL: http://codereview.chromium.org/6698064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79718 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up status notifications in the Proxy.brettw@chromium.org2011-03-293-7/+74
| | | | | | | | TEST=manual BUG=none Review URL: http://codereview.chromium.org/6724042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79687 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up some types in the API.neb@chromium.org2011-03-2817-25/+27
| | | | | | | | | | | | | | | | | size_t -> int32_t, char* -> void* for buffers, void* -> const void* where needed. We already use int32_t when we serialize size_t (and unlike pointers, size_ts do get serialized a lot). char* for representing unstructured blocks of memory is weird, see "man 2 read" and friends. I'm removing it because it complicates our type system in IDL for no reason. const void* should be obvious. BUG=76271 TEST=none Review URL: http://codereview.chromium.org/6711047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79623 0039d316-1c4b-4281-b951-d872f2087c98
* Rename PPB_Flash::NavigateToURL() (to Navigate()) and make it take an ↵viettrungluu@chromium.org2011-03-284-31/+41
| | | | | | | | | | | | | URLRequestInfo. This allows us to navigate using POSTs. BUG=none TEST=works for Trung's Flapper Review URL: http://codereview.chromium.org/6745021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79590 0039d316-1c4b-4281-b951-d872f2087c98
* Change a parameter name from message_data to message based on a review ↵dmichael@google.com2011-03-282-4/+4
| | | | | | | | | | comment from http://codereview.chromium.org/6716005/. BUG=None TEST=ppapi/tests/test_post_message.cc Review URL: http://codereview.chromium.org/6748006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79559 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize a few uninitialized member variables and structs in PPAPI.finnur@chromium.org2011-03-286-10/+26
| | | | | | | | | BUG=None TEST=None CID=14043, 14386, 14232, 14230, 14112, 14111, 14110, 14109, 14108, 14231, 14042, 14187, 14664. Review URL: http://codereview.chromium.org/6676145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79540 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-2815-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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