summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/autoupdate_interceptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/autoupdate_interceptor.h')
-rw-r--r--chrome/browser/extensions/autoupdate_interceptor.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/extensions/autoupdate_interceptor.h b/chrome/browser/extensions/autoupdate_interceptor.h
index 4a4284a..142c46d 100644
--- a/chrome/browser/extensions/autoupdate_interceptor.h
+++ b/chrome/browser/extensions/autoupdate_interceptor.h
@@ -18,7 +18,6 @@ class AutoUpdateInterceptor
public base::RefCountedThreadSafe<AutoUpdateInterceptor> {
public:
AutoUpdateInterceptor();
- virtual ~AutoUpdateInterceptor();
// When computing matches, this ignores query parameters (since the autoupdate
// fetch code appends a bunch of them to manifest fetches).
@@ -34,6 +33,10 @@ class AutoUpdateInterceptor
void SetResponseOnIOThread(const std::string url, const FilePath& path);
private:
+ friend class base::RefCountedThreadSafe<AutoUpdateInterceptor>;
+
+ virtual ~AutoUpdateInterceptor();
+
std::map<GURL, FilePath> responses_;
DISALLOW_COPY_AND_ASSIGN(AutoUpdateInterceptor);