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

Side by Side Diff: chrome/browser/extensions/test_extension_service.cc

Issue 709813004: Remove the deprecated function ExtensionService::extensions(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed thestig@'s comments. Created 6 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/extensions/crx_installer.h" 5 #include "chrome/browser/extensions/crx_installer.h"
6 #include "chrome/browser/extensions/test_extension_service.h" 6 #include "chrome/browser/extensions/test_extension_service.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 using extensions::Extension; 9 using extensions::Extension;
10 10
11 TestExtensionService::~TestExtensionService() {} 11 TestExtensionService::~TestExtensionService() {}
12 12
13 const extensions::ExtensionSet* TestExtensionService::extensions() const {
14 ADD_FAILURE();
15 return NULL;
16 }
17
18 extensions::PendingExtensionManager* 13 extensions::PendingExtensionManager*
19 TestExtensionService::pending_extension_manager() { 14 TestExtensionService::pending_extension_manager() {
20 ADD_FAILURE(); 15 ADD_FAILURE();
21 return NULL; 16 return NULL;
22 } 17 }
23 18
24 bool TestExtensionService::UpdateExtension( 19 bool TestExtensionService::UpdateExtension(
25 const std::string& id, 20 const std::string& id,
26 const base::FilePath& path, 21 const base::FilePath& path,
27 bool file_ownership_passed, 22 bool file_ownership_passed,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void TestExtensionService::UnloadExtension( 83 void TestExtensionService::UnloadExtension(
89 const std::string& extension_id, 84 const std::string& extension_id,
90 extensions::UnloadedExtensionInfo::Reason reason) { 85 extensions::UnloadedExtensionInfo::Reason reason) {
91 ADD_FAILURE(); 86 ADD_FAILURE();
92 } 87 }
93 88
94 void TestExtensionService::RemoveComponentExtension( 89 void TestExtensionService::RemoveComponentExtension(
95 const std::string& extension_id) { 90 const std::string& extension_id) {
96 ADD_FAILURE(); 91 ADD_FAILURE();
97 } 92 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_service.h ('k') | chrome/browser/extensions/updater/extension_updater_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698