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

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

Issue 8733004: Make ExtensionService use ExtensionSet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: + Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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/extension_sync_data.h" 6 #include "chrome/browser/extensions/extension_sync_data.h"
7 #include "chrome/browser/extensions/test_extension_service.h" 7 #include "chrome/browser/extensions/test_extension_service.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 9
10 TestExtensionService::~TestExtensionService() {} 10 TestExtensionService::~TestExtensionService() {}
11 11
12 const ExtensionList* TestExtensionService::extensions() const { 12 const ExtensionSet* TestExtensionService::extensions() const {
13 ADD_FAILURE(); 13 ADD_FAILURE();
14 return NULL; 14 return NULL;
15 } 15 }
16 16
17 PendingExtensionManager* TestExtensionService::pending_extension_manager() { 17 PendingExtensionManager* TestExtensionService::pending_extension_manager() {
18 ADD_FAILURE(); 18 ADD_FAILURE();
19 return NULL; 19 return NULL;
20 } 20 }
21 21
22 bool TestExtensionService::UpdateExtension( 22 bool TestExtensionService::UpdateExtension(
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 void TestExtensionService::AddExtension(const Extension* extension) { 98 void TestExtensionService::AddExtension(const Extension* extension) {
99 ADD_FAILURE(); 99 ADD_FAILURE();
100 } 100 }
101 101
102 void TestExtensionService::UnloadExtension( 102 void TestExtensionService::UnloadExtension(
103 const std::string& extension_id, 103 const std::string& extension_id,
104 extension_misc::UnloadedExtensionReason reason) { 104 extension_misc::UnloadedExtensionReason reason) {
105 ADD_FAILURE(); 105 ADD_FAILURE();
106 } 106 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_service.h ('k') | chrome/browser/extensions/unpacked_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698