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

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

Issue 9694038: OBSOLETE REVIEW. See http://codereview.chromium.org/10382149/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
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/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 "chrome/browser/sync/api/sync_error_factory.h" 8 #include "chrome/browser/sync/api/sync_error_factory.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 TestExtensionService::~TestExtensionService() {} 11 TestExtensionService::~TestExtensionService() {}
12 12
13 const ExtensionSet* TestExtensionService::extensions() const { 13 const ExtensionSet* TestExtensionService::extensions() const {
14 ADD_FAILURE(); 14 ADD_FAILURE();
15 return NULL; 15 return NULL;
16 } 16 }
17 17
18 const ExtensionSet* TestExtensionService::disabled_extensions() const { 18 const ExtensionSet* TestExtensionService::disabled_extensions() const {
19 ADD_FAILURE(); 19 ADD_FAILURE();
20 return NULL; 20 return NULL;
21 } 21 }
22 22
23 PendingExtensionManager* TestExtensionService::pending_extension_manager() { 23 PendingExtensionManager* TestExtensionService::pending_extension_manager() {
24 ADD_FAILURE(); 24 ADD_FAILURE();
25 return NULL; 25 return NULL;
26 } 26 }
27 27
28 ExtensionManagementPolicy* TestExtensionService::extension_management_policy() {
29 ADD_FAILURE();
30 return NULL;
31 }
32
28 bool TestExtensionService::UpdateExtension( 33 bool TestExtensionService::UpdateExtension(
29 const std::string& id, 34 const std::string& id,
30 const FilePath& path, 35 const FilePath& path,
31 const GURL& download_url, 36 const GURL& download_url,
32 CrxInstaller** out_crx_installer) { 37 CrxInstaller** out_crx_installer) {
33 ADD_FAILURE(); 38 ADD_FAILURE();
34 return NULL; 39 return NULL;
35 } 40 }
36 41
37 const Extension* TestExtensionService::GetExtensionById( 42 const Extension* TestExtensionService::GetExtensionById(
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void TestExtensionService::UnloadExtension( 114 void TestExtensionService::UnloadExtension(
110 const std::string& extension_id, 115 const std::string& extension_id,
111 extension_misc::UnloadedExtensionReason reason) { 116 extension_misc::UnloadedExtensionReason reason) {
112 ADD_FAILURE(); 117 ADD_FAILURE();
113 } 118 }
114 119
115 void TestExtensionService::SyncExtensionChangeIfNeeded( 120 void TestExtensionService::SyncExtensionChangeIfNeeded(
116 const Extension& extension) { 121 const Extension& extension) {
117 ADD_FAILURE(); 122 ADD_FAILURE();
118 } 123 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698