summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-06-07 16:05:16 +0100
committerKristian Monsen <kristianm@google.com>2011-06-07 16:09:33 +0100
commit7c37c1cf37a423db732000a007b196327627ea1c (patch)
treed79461237c61301bae0351370f4d34b2db06a087 /media/libstagefright
parentda188fbe4b4d7b91e1440afe5a1279d0fd7a91eb (diff)
downloadframeworks_base-7c37c1cf37a423db732000a007b196327627ea1c.zip
frameworks_base-7c37c1cf37a423db732000a007b196327627ea1c.tar.gz
frameworks_base-7c37c1cf37a423db732000a007b196327627ea1c.tar.bz2
Merge chromium to r11.0.672.0: Compile fix
Cause by upstream CL: http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/url_request_context.h?r1=70592&r2=71522&pathrev=74924 Change-Id: Iada1639b7a38cee963644437e8e3f4f5708d6136
Diffstat (limited to 'media/libstagefright')
-rw-r--r--media/libstagefright/chromium_http/support.cpp6
-rw-r--r--media/libstagefright/chromium_http/support.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/media/libstagefright/chromium_http/support.cpp b/media/libstagefright/chromium_http/support.cpp
index 805bd48..ed6846c 100644
--- a/media/libstagefright/chromium_http/support.cpp
+++ b/media/libstagefright/chromium_http/support.cpp
@@ -40,7 +40,7 @@ namespace android {
static Mutex gNetworkThreadLock;
static base::Thread *gNetworkThread = NULL;
-static scoped_refptr<URLRequestContext> gReqContext;
+static scoped_refptr<net::URLRequestContext> gReqContext;
static void InitializeNetworkThreadIfNecessary() {
Mutex::Autolock autoLock(gNetworkThreadLock);
@@ -214,7 +214,7 @@ void SfDelegate::OnSetCookie(
}
void SfDelegate::OnResponseStarted(net::URLRequest *request) {
- if (request->status().status() != URLRequestStatus::SUCCESS) {
+ if (request->status().status() != net::URLRequestStatus::SUCCESS) {
MY_LOGI(StringPrintf(
"Request failed with status %d and os_error %d",
request->status().status(),
@@ -325,7 +325,7 @@ void SfDelegate::readMore(net::URLRequest *request) {
} else {
MY_LOGV("readMore pending read");
- if (request->status().status() != URLRequestStatus::IO_PENDING) {
+ if (request->status().status() != net::URLRequestStatus::IO_PENDING) {
MY_LOGI(StringPrintf(
"Direct read failed w/ status %d\n",
request->status().status()).c_str());
diff --git a/media/libstagefright/chromium_http/support.h b/media/libstagefright/chromium_http/support.h
index 4d03493..8fe8db1 100644
--- a/media/libstagefright/chromium_http/support.h
+++ b/media/libstagefright/chromium_http/support.h
@@ -50,7 +50,7 @@ private:
DISALLOW_EVIL_CONSTRUCTORS(SfNetLog);
};
-struct SfRequestContext : public URLRequestContext {
+struct SfRequestContext : public net::URLRequestContext {
SfRequestContext();
virtual const std::string &GetUserAgent(const GURL &url) const;