| Index: content/browser/mock_resource_context.cc
|
| diff --git a/content/browser/mock_resource_context.cc b/content/browser/mock_resource_context.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5e5e9762a25e52bb4e2c2f1003ed6cf423f86d3a
|
| --- /dev/null
|
| +++ b/content/browser/mock_resource_context.cc
|
| @@ -0,0 +1,23 @@
|
| +// Copyright (c) 2011 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.
|
| +
|
| +#include "content/browser/mock_resource_context.h"
|
| +
|
| +#include "base/lazy_instance.h"
|
| +
|
| +namespace content {
|
| +
|
| +static base::LazyInstance<MockResourceContext>
|
| + g_mock_resource_context(base::LINKER_INITIALIZED);
|
| +
|
| +const ResourceContext& MockResourceContext::GetInstance() {
|
| + return g_mock_resource_context.Get();
|
| +}
|
| +
|
| +MockResourceContext::MockResourceContext() {}
|
| +MockResourceContext::~MockResourceContext() {}
|
| +
|
| +void MockResourceContext::EnsureInitialized() const {}
|
| +
|
| +} // namespace content
|
|
|