diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-03 00:11:33 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-03 00:11:33 +0000 |
commit | f2621cb2f5a52fde93052efba6880a49f8f291eb (patch) | |
tree | dcd88458f385be5534fc987028c3d7533be14dfc /ppapi/thunk/ppb_url_loader_api.h | |
parent | dc851a4e5e36ccb3fe5445912888c1eb9527be20 (diff) | |
download | chromium_src-f2621cb2f5a52fde93052efba6880a49f8f291eb.zip chromium_src-f2621cb2f5a52fde93052efba6880a49f8f291eb.tar.gz chromium_src-f2621cb2f5a52fde93052efba6880a49f8f291eb.tar.bz2 |
Plumb RequestorProcessID field through various layers to enable the Network
column of Task Manager to show network usage by Pepper plugins.
R=brettw@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11026007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_url_loader_api.h')
-rw-r--r-- | ppapi/thunk/ppb_url_loader_api.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ppapi/thunk/ppb_url_loader_api.h b/ppapi/thunk/ppb_url_loader_api.h index f9628bb5..ddcd20e 100644 --- a/ppapi/thunk/ppb_url_loader_api.h +++ b/ppapi/thunk/ppb_url_loader_api.h @@ -24,8 +24,11 @@ class PPB_URLLoader_API { virtual int32_t Open(PP_Resource request_id, scoped_refptr<TrackedCallback> callback) = 0; - // Internal open given a URLRequestInfoData. + // Internal open given a URLRequestInfoData and requestor_pid, which + // indicates the process that requested and will consume the data. + // Pass 0 for requestor_pid to indicate the current process. virtual int32_t Open(const URLRequestInfoData& data, + int requestor_pid, scoped_refptr<TrackedCallback> callback) = 0; virtual int32_t FollowRedirect(scoped_refptr<TrackedCallback> callback) = 0; |