summaryrefslogtreecommitdiffstats
path: root/content/utility
Commit message (Collapse)AuthorAgeFilesLines
* Move the Windows sandbox to sandbox/winjln@chromium.org2012-07-182-2/+2
| | | | | | | | | | | | | This is a rather large refactor to move the Windows sandbox to the right place. BUG= TEST= NOTRY=true TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10689170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147151 0039d316-1c4b-4281-b951-d872f2087c98
* Emergency revert; rietveld broke; tree brokeerg@google.com2012-07-132-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146646 0039d316-1c4b-4281-b951-d872f2087c98
* sandbox/src -> sandbox/win/srcjln@chromium.org2012-07-132-2/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146626 0039d316-1c4b-4281-b951-d872f2087c98
* Remove #pragma once from contentajwong@chromium.org2012-07-111-1/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10696166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146071 0039d316-1c4b-4281-b951-d872f2087c98
* Tighten up DEPS some more. NaCl/service process code are including internal ↵jam@chromium.org2012-06-041-1/+1
| | | | | | | | | content files. Fix the instances other sandbox stuff, which I'll do in a followup. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10512010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140346 0039d316-1c4b-4281-b951-d872f2087c98
* Move IndexedDBKey, IndexedDBKeyRange into content namespacejsbell@chromium.org2012-05-042-4/+4
| | | | | | | | | | | R=jam@chromium.org BUG=125589 TEST=none Review URL: http://codereview.chromium.org/10272018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135487 0039d316-1c4b-4281-b951-d872f2087c98
* Use WebIDBKeyPath type in WebKit API, implement IndexedDBKeyPath type.jsbell@chromium.org2012-04-302-11/+8
| | | | | | | | | | | | | | | IndexedDB allows key paths to be strings or arrays of strings (or null, for object stores). Implement the new WebKit API that uses a dedicated type instead of strings, and implement appropriate IPC plumbing. This change is dependent on: https://webkit.org/b/84631 R=darin@chromium.org,tkent@chromium.org,dgrogan@chromium.org,michaeln@chromium.org BUG=112308 Review URL: http://codereview.chromium.org/10204003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134581 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TOOLKIT_USES_GTK and consolidate it into TOOLKIT_GTKoshima@chromium.org2012-04-051-2/+2
| | | | | | | | | | | Add gtk dependency to base.gyp for android host_os="linux" case BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9969080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130784 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 129322 - revert 128949 (and dependent 129252)bauerb@chromium.org2012-03-281-11/+8
| | | | | | | | | | | Original review URL: http://codereview.chromium.org/9874001 BUG=120273 TEST=none TBR=thakis@chromium.org Review URL: https://chromiumcodereview.appspot.com/9844016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129423 0039d316-1c4b-4281-b951-d872f2087c98
* Fix compilation error due to deprecated glib APIqiankun.miao@intel.com2012-03-281-1/+5
| | | | | | | | | | | | | | | g_thread_init and g_thread_get_initialized are two deprecated APIs since glib version 2.32. The Glib threading system is automatically initialized at the start of a program. There will be compilation error with these two functions. Remove calls to these two functions. BUG=119669 TEST=NONE Review URL: http://codereview.chromium.org/9835044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129350 0039d316-1c4b-4281-b951-d872f2087c98
* revert 128949 (and dependent 129252)thakis@chromium.org2012-03-281-8/+11
| | | | | | | | | | | | Speculative, it might have caused a Morejs regression. BUG=120273 TEST=none TBR=bauerb Review URL: http://codereview.chromium.org/9874001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129322 0039d316-1c4b-4281-b951-d872f2087c98
* Move |requires_authorization| flag and |update_url| for plug-ins out of ↵bauerb@chromium.org2012-03-261-12/+9
| | | | | | | | | | | | | webkit::npapi::PluginGroup. It's now in PluginInstaller. BUG=none TEST=nope Review URL: http://codereview.chromium.org/9536013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128949 0039d316-1c4b-4281-b951-d872f2087c98
* Add an OWNERS file for src\content by moving the owners that were there for ↵jam@chromium.org2012-03-141-2/+0
| | | | | | | | the top level directories within. I've removed them all from the subdirectories. Also removed the "set noparent" in subdirectories and just put one in src/content/OWNERS for now. I also added brettw/darin for src/chrome/OWNERS. Review URL: https://chromiumcodereview.appspot.com/9695028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126522 0039d316-1c4b-4281-b951-d872f2087c98
* Move indexeddb code to its own directory inside of ↵dgrogan@chromium.org2011-12-201-2/+1
| | | | | | | | | | | | content/{browser,common,renderer} BUG=105949 TEST= Review URL: http://codereview.chromium.org/8980002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115195 0039d316-1c4b-4281-b951-d872f2087c98
* Don't abort() if GLib/GTK have been initialized in the utility process.jorgelo@chromium.org2011-12-191-3/+4
| | | | | | | | | | | | | | Don't use CHECK() to check whether GLib/GTK have been initialized in the utility process. Just guard the initialization so that we don't do it twice. BUG=107585 TEST=Open Chromium, about:plugins should show installed plugins. Review URL: http://codereview.chromium.org/8997010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115034 0039d316-1c4b-4281-b951-d872f2087c98
* Utility process: move GTK initialization to the plugin loading code path.jorgelo@chromium.org2011-12-101-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | Since GTK initialization loads shared libraries and accesses the file system, having this code present in every code path that uses the utility process would prevent us from sandboxing the uses of the utility process that don't access the filesystem themselves. Moreover, since GTK initialization is only used for plugin loading, which cannot be sandboxed, there is no harm in moving it to the plugin loading path. We do check that the GTK thread system has not already been initialized (only needed for glib < 2.24): http://developer.gnome.org/glib/2.28/glib-Threads.html#g-thread-init BUG=93109 TEST=Similar to issue 8774048, having libtotem plugins installed, go to about:plugins and check that they are present. Review URL: http://codereview.chromium.org/8870005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113904 0039d316-1c4b-4281-b951-d872f2087c98
* [Linux] Call g_thread_init() in UtilityThreadImpl::OnLoadPlugins().rsesek@chromium.org2011-12-051-0/+14
| | | | | | | | | | | | | This allows plugins that call into glib for NP_GetMIMEDescription to load without crashing. BUG=71661,105252 TEST=Have libTotem plugins installed, go to about:plugins and they are present. Review URL: http://codereview.chromium.org/8774048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113021 0039d316-1c4b-4281-b951-d872f2087c98
* Update includes to new header locationsabarth@chromium.org2011-12-031-1/+1
| | | | | | | TBR=darin Review URL: http://codereview.chromium.org/8788003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112825 0039d316-1c4b-4281-b951-d872f2087c98
* Move some webkit_glue embedder functions into WebKitPlatformSupport virtual ↵piman@chromium.org2011-11-222-6/+3
| | | | | | | | | | | | | methods This moves the functions into a pattern that is component-friendly. BUG=98755 TEST=chrome test_shell test_shell_tests browser_tests DumpRenderTree Review URL: http://codereview.chromium.org/8602002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111101 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove more unneeded forward declares in content.thestig@chromium.org2011-11-111-4/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8511044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109549 0039d316-1c4b-4281-b951-d872f2087c98
* Send the index in the canonical list over IPC when using the OOP plugin loader.rsesek@chromium.org2011-11-021-6/+4
| | | | | | | | | | | | Comparing paths does not work all the time on Linux if the plugin is wrapped and is initially loaded from a symlinked location. BUG=17863 TEST=Waterfall Linux(dbg)(2) plugin_tests Review URL: http://codereview.chromium.org/8440042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108306 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_restriction.h and main_function_params.h to ↵jam@chromium.org2011-10-311-2/+2
| | | | | | | | | content/public/common, and put them in the content namespace. BUG=98716 Review URL: http://codereview.chromium.org/8387039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108004 0039d316-1c4b-4281-b951-d872f2087c98
* Expose the sandbox related code through the content API. I did a bit of ↵jam@chromium.org2011-10-291-2/+2
| | | | | | | | | | | | | cleanup while I was doing this. -got rid of SandboxInitWrapper, since I didn't see a need to expose given that we can just expose sandbox::SandboxInterfaceInfo -got rid of the duplicated code to initialize the broker -since I made MainFunctionParams only have the sandbox struct on Windows, I also made the mac specific auto release pool behind an ifdef as well. It seemed odd to make something so mac specific compile on all platforms to save some #ifdefs. BUG=98716 Review URL: http://codereview.chromium.org/8414020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107863 0039d316-1c4b-4281-b951-d872f2087c98
* Make chrome/utility not depend on content/common. Enforce with DEPS.jam@chromium.org2011-10-252-1/+18
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8351028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107174 0039d316-1c4b-4281-b951-d872f2087c98
* Move SerializedScriptValue to content/public/common and put it into the ↵jam@chromium.org2011-10-212-8/+13
| | | | | | | | | content namespace. BUG=98716 Review URL: http://codereview.chromium.org/8372009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106781 0039d316-1c4b-4281-b951-d872f2087c98
* Gracefully handle child process death in out-of-process plugin loading.rsesek@chromium.org2011-10-212-26/+17
| | | | | | | | | | | This also queues requests to load plugins, based on http://codereview.chromium.org/8243010/. BUG=100053 TEST=Install Sonix webcam driver on OS X Lion and try to load a Flash video. It plays. Review URL: http://codereview.chromium.org/8318028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106738 0039d316-1c4b-4281-b951-d872f2087c98
* Create content::UtilityThread interface and make chrome code use that. This ↵ananta@chromium.org2011-10-143-30/+33
| | | | | | | | | | | | | | | | interface is implemented by the UtilityThreadImpl class in content\utility\utility_thread_impl.cc/.h which are renamed incarnations of the content\utility\utility_thread.cc/.h files. Changes as part of creating a content API. BUG=98716 TEST=No change in functionality. Review URL: http://codereview.chromium.org/8276026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105610 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_utility_client.h to content\public\utility.ananta@chromium.org2011-10-133-26/+2
| | | | | | | | | | Changes as part of creating a Content API. BUG=98716 TEST=No change in functionality. Review URL: http://codereview.chromium.org/8252005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105398 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_switches to content\public\common.jam@chromium.org2011-10-131-1/+1
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8277018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105389 0039d316-1c4b-4281-b951-d872f2087c98
* Move plugin loading out of process on Mac and Linux.rsesek@chromium.org2011-09-272-0/+51
| | | | | | | | | | | | | | This creates a new set of IPC messages for the utility process to load plugins to get the WebPluginInfo data in a separate process. Previously this was done in the browser process, but that involves loading arbitrary third-party code into the address space and then executing it. BUG=17863,95114 TEST=Plugins work as before. Review URL: http://codereview.chromium.org/7889025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102971 0039d316-1c4b-4281-b951-d872f2087c98
* Annotate all of the functions in content that need to be exported, in ↵dpranke@chromium.org2011-09-131-1/+2
| | | | | | | | | | | | preparation for creating a content shared library. R=darin@chromium.org, jam@chromium.org, willchan@chromium.org BUG=90442 TEST=everything still compiles Review URL: http://codereview.chromium.org/7800015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100975 0039d316-1c4b-4281-b951-d872f2087c98
* Update Chrome to use WebKitPlatformSupport instead of WebKitClient.abarth@chromium.org2011-09-022-5/+5
| | | | | | Review URL: http://codereview.chromium.org/7831035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99349 0039d316-1c4b-4281-b951-d872f2087c98
* Make Index DB code that accesses WebKit initialize WebKit first.levin@chromium.org2011-08-012-2/+12
| | | | | | | | | | BUG=None TEST=InProcessBrowserTest,IDBKeyPathWithoutSandbox after https://bugs.webkit.org/show_bug.cgi?id=64577 is landed. Review URL: http://codereview.chromium.org/7483001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94991 0039d316-1c4b-4281-b951-d872f2087c98
* Make all content client interfaces pure virtual.joi@chromium.org2011-06-292-18/+2
| | | | | | | | | BUG=87332 TEST=existing Review URL: http://codereview.chromium.org/7242016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90910 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bunch of owners for subdirs under content.jam@chromium.org2011-06-141-0/+3
| | | | | | Review URL: http://codereview.chromium.org/7147020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89041 0039d316-1c4b-4281-b951-d872f2087c98
* Move UtilityProcessHost to content and move the message sending/dispatching ↵jam@chromium.org2011-06-097-0/+255
to the clients. This allows the content layer to use the class. BUG=76697 Review URL: http://codereview.chromium.org/6995095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88586 0039d316-1c4b-4281-b951-d872f2087c98