diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 20:36:49 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 20:36:49 +0000 |
commit | 351355117f4cb4ee805961920a7c9d2ad0ae944c (patch) | |
tree | eaa3fce0cb3c27c349979f3b1d396cebd94b777d /chrome/browser/plugin_process_host.h | |
parent | 77e82ef4ef098225b769b64d852f5c522b22f31d (diff) | |
download | chromium_src-351355117f4cb4ee805961920a7c9d2ad0ae944c.zip chromium_src-351355117f4cb4ee805961920a7c9d2ad0ae944c.tar.gz chromium_src-351355117f4cb4ee805961920a7c9d2ad0ae944c.tar.bz2 |
CPAPI (0.11) for gears drag drop.
Provide a method that allows the gears plugin to ask the browser
process to verify that its renderer has permission to access the
drop files. Update the copyright notices.
BUG=7995
Review URL: http://codereview.chromium.org/159074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21437 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_process_host.h')
-rw-r--r-- | chrome/browser/plugin_process_host.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/plugin_process_host.h b/chrome/browser/plugin_process_host.h index 8c3a948..22e9249 100644 --- a/chrome/browser/plugin_process_host.h +++ b/chrome/browser/plugin_process_host.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -101,6 +101,8 @@ class PluginProcessHost : public ChildProcessHost, void OnGetPluginFinderUrl(std::string* plugin_finder_url); void OnGetCookies(uint32 request_context, const GURL& url, std::string* cookies); + void OnAccessFiles(int process_id, const std::vector<std::string>& files, + bool* allowed); void OnResolveProxy(const GURL& url, IPC::Message* reply_msg); void OnPluginMessage(const std::vector<uint8>& data); |