summaryrefslogtreecommitdiffstats
path: root/chrome_frame/urlmon_url_request_private.h
diff options
context:
space:
mode:
authorstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 22:11:31 +0000
committerstoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-08 22:11:31 +0000
commit4cb6dca5bcdabfa14f067f741243ca4fcda0b833 (patch)
tree31a2e6d8580cc85e08fa2e2bfae535eb8a4e681e /chrome_frame/urlmon_url_request_private.h
parenta0e790507d6ba0d895b38f2d25524557ebeed9a3 (diff)
downloadchromium_src-4cb6dca5bcdabfa14f067f741243ca4fcda0b833.zip
chromium_src-4cb6dca5bcdabfa14f067f741243ca4fcda0b833.tar.gz
chromium_src-4cb6dca5bcdabfa14f067f741243ca4fcda0b833.tar.bz2
Add file I forgot.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/urlmon_url_request_private.h')
-rw-r--r--chrome_frame/urlmon_url_request_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome_frame/urlmon_url_request_private.h b/chrome_frame/urlmon_url_request_private.h
index 5ae3da3..239deb5 100644
--- a/chrome_frame/urlmon_url_request_private.h
+++ b/chrome_frame/urlmon_url_request_private.h
@@ -13,6 +13,7 @@
#include "net/base/net_errors.h"
#include "net/http/http_response_headers.h"
#include "net/url_request/url_request_status.h"
+#include "testing/gtest/include/gtest/gtest_prod.h"
class RequestData;
@@ -100,6 +101,7 @@ class UrlmonUrlRequest
// Manage data caching. Note: this class supports cache
// size less than 2GB
+ FRIEND_TEST(UrlmonUrlRequestCache, ReadWrite);
class Cache {
public:
Cache() : size_(0), read_offset_(0), write_offset_(0) {
@@ -123,6 +125,7 @@ class UrlmonUrlRequest
}
private:
+ FRIEND_TEST(UrlmonUrlRequestCache, ReadWrite);
void GetWriteBuffer(void** dest, size_t* bytes_avail);
void BytesWritten(size_t bytes);
void GetReadBuffer(void** src, size_t* bytes_avail);