| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 
|  | 2 // Use of this source code is governed by a BSD-style license that can be | 
|  | 3 // found in the LICENSE file. | 
|  | 4 | 
|  | 5 #ifndef CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ | 
|  | 6 #define CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ | 
|  | 7 | 
|  | 8 #include "content/browser/resource_context.h" | 
|  | 9 | 
|  | 10 namespace base { | 
|  | 11 template <typename T> | 
|  | 12 struct DefaultLazyInstanceTraits; | 
|  | 13 }  // namespace base | 
|  | 14 | 
|  | 15 namespace content { | 
|  | 16 | 
|  | 17 class MockResourceContext : public ResourceContext { | 
|  | 18  public: | 
|  | 19   static const ResourceContext& GetInstance(); | 
|  | 20 | 
|  | 21  private: | 
|  | 22   friend struct base::DefaultLazyInstanceTraits<MockResourceContext>; | 
|  | 23 | 
|  | 24   MockResourceContext(); | 
|  | 25   ~MockResourceContext(); | 
|  | 26   virtual void EnsureInitialized() const; | 
|  | 27 }; | 
|  | 28 | 
|  | 29 }  // namespace content | 
|  | 30 | 
|  | 31 #endif  // CONTENT_BROWSER_MOCK_RESOURCE_CONTEXT_H_ | 
| OLD | NEW | 
|---|