Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: webkit/api/public/WebKitClient.h

Issue 131082: Add getFileSize support to chromium... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/worker/worker_webkitclient_impl.cc ('k') | webkit/api/src/ChromiumBridge.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 // Network ------------------------------------------------------------- 76 // Network -------------------------------------------------------------
77 77
78 virtual void setCookies( 78 virtual void setCookies(
79 const WebURL& url, const WebURL& policyURL, const WebString& cookies) = 0; 79 const WebURL& url, const WebURL& policyURL, const WebString& cookies) = 0;
80 virtual WebString cookies(const WebURL& url, const WebURL& policyURL) = 0; 80 virtual WebString cookies(const WebURL& url, const WebURL& policyURL) = 0;
81 81
82 // A suggestion to prefetch IP information for the given hostname. 82 // A suggestion to prefetch IP information for the given hostname.
83 virtual void prefetchHostName(const WebString&) = 0; 83 virtual void prefetchHostName(const WebString&) = 0;
84 84
85 // File ----------------------------------------------------------------
86
87 virtual bool getFileSize(const WebString& path, long long& result) = 0;
88
85 // Returns a new WebURLLoader instance. 89 // Returns a new WebURLLoader instance.
86 virtual WebURLLoader* createURLLoader() = 0; 90 virtual WebURLLoader* createURLLoader() = 0;
87 91
88 92
89 // Plugins ------------------------------------------------------------- 93 // Plugins -------------------------------------------------------------
90 94
91 // If refresh is true, then cached information should not be used to 95 // If refresh is true, then cached information should not be used to
92 // satisfy this call. 96 // satisfy this call.
93 virtual void getPluginList(bool refresh, WebPluginListBuilder*) = 0; 97 virtual void getPluginList(bool refresh, WebPluginListBuilder*) = 0;
94 98
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 virtual void setSharedTimerFireTime(double fireTime) = 0; 133 virtual void setSharedTimerFireTime(double fireTime) = 0;
130 virtual void stopSharedTimer() = 0; 134 virtual void stopSharedTimer() = 0;
131 135
132 // Callable from a background WebKit thread. 136 // Callable from a background WebKit thread.
133 virtual void callOnMainThread(void (*func)()) = 0; 137 virtual void callOnMainThread(void (*func)()) = 0;
134 }; 138 };
135 139
136 } // namespace WebKit 140 } // namespace WebKit
137 141
138 #endif 142 #endif
OLDNEW
« no previous file with comments | « chrome/worker/worker_webkitclient_impl.cc ('k') | webkit/api/src/ChromiumBridge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698