OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "extensions/browser/mock_extension_system.h" | 5 #include "extensions/browser/mock_extension_system.h" |
6 | 6 |
7 #include "extensions/browser/value_store/value_store_factory.h" | 7 #include "extensions/browser/value_store/value_store_factory.h" |
8 #include "extensions/common/extension_set.h" | 8 #include "extensions/common/extension_set.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 } | 64 } |
65 | 65 |
66 const OneShotEvent& MockExtensionSystem::ready() const { | 66 const OneShotEvent& MockExtensionSystem::ready() const { |
67 return ready_; | 67 return ready_; |
68 } | 68 } |
69 | 69 |
70 ContentVerifier* MockExtensionSystem::content_verifier() { | 70 ContentVerifier* MockExtensionSystem::content_verifier() { |
71 return nullptr; | 71 return nullptr; |
72 } | 72 } |
73 | 73 |
74 scoped_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( | 74 std::unique_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions( |
75 const Extension* extension) { | 75 const Extension* extension) { |
76 return scoped_ptr<ExtensionSet>(); | 76 return std::unique_ptr<ExtensionSet>(); |
77 } | 77 } |
78 | 78 |
79 void MockExtensionSystem::InstallUpdate(const std::string& extension_id, | 79 void MockExtensionSystem::InstallUpdate(const std::string& extension_id, |
80 const base::FilePath& temp_dir) { | 80 const base::FilePath& temp_dir) { |
81 NOTREACHED(); | 81 NOTREACHED(); |
82 } | 82 } |
83 | 83 |
84 } // namespace extensions | 84 } // namespace extensions |
OLD | NEW |