| Index: content/browser/mock_resource_context.h
|
| diff --git a/content/browser/mock_resource_context.h b/content/browser/mock_resource_context.h
|
| deleted file mode 100644
|
| index 417838c3154b5c6fa421e0f7bfb5dbd489a0c110..0000000000000000000000000000000000000000
|
| --- a/content/browser/mock_resource_context.h
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_
|
| -#define CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_
|
| -
|
| -#include "base/compiler_specific.h"
|
| -#include "base/memory/ref_counted.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| -#include "content/public/browser/resource_context.h"
|
| -#include "net/url_request/url_request_context.h"
|
| -
|
| -namespace content {
|
| -
|
| -class MockResourceContext : public ResourceContext {
|
| - public:
|
| - MockResourceContext();
|
| - explicit MockResourceContext(net::URLRequestContext* context);
|
| - virtual ~MockResourceContext();
|
| -
|
| - void set_request_context(net::URLRequestContext* context) {
|
| - test_request_context_ = context;
|
| - }
|
| -
|
| - void set_media_observer(MediaObserver* observer) {
|
| - media_observer_ = observer;
|
| - }
|
| -
|
| - // ResourceContext implementation:
|
| - virtual net::HostResolver* GetHostResolver() OVERRIDE;
|
| - virtual net::URLRequestContext* GetRequestContext() OVERRIDE;
|
| - virtual MediaObserver* GetMediaObserver() OVERRIDE;
|
| -
|
| - private:
|
| - scoped_refptr<net::URLRequestContext> test_request_context_;
|
| - MediaObserver* media_observer_;
|
| -};
|
| -
|
| -} // namespace content
|
| -
|
| -#endif // CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_
|
|
|