Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Side by Side Diff: extensions/browser/mock_extension_system.cc

Issue 1909773002: Convert //extensions/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « extensions/browser/mock_extension_system.h ('k') | extensions/browser/mojo/keep_alive_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698