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

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

Issue 226023003: Create CrxInstaller directly in WebstoreInstaller (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android compilation fix (again). Created 6 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 (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 { 13 const extensions::ExtensionSet* TestExtensionService::extensions() const {
14 ADD_FAILURE(); 14 ADD_FAILURE();
15 return NULL; 15 return NULL;
16 } 16 }
17 17
18 extensions::PendingExtensionManager* 18 extensions::PendingExtensionManager*
19 TestExtensionService::pending_extension_manager() { 19 TestExtensionService::pending_extension_manager() {
20 ADD_FAILURE(); 20 ADD_FAILURE();
21 return NULL; 21 return NULL;
22 } 22 }
23 23
24 bool TestExtensionService::UpdateExtension( 24 bool TestExtensionService::UpdateExtension(
25 const std::string& id, 25 const std::string& id,
26 const base::FilePath& path, 26 const base::FilePath& path,
27 bool file_ownership_passed, 27 bool file_ownership_passed,
28 const GURL& download_url,
29 extensions::CrxInstaller** out_crx_installer) { 28 extensions::CrxInstaller** out_crx_installer) {
30 ADD_FAILURE(); 29 ADD_FAILURE();
31 return false; 30 return false;
32 } 31 }
33 32
34 const Extension* TestExtensionService::GetExtensionById( 33 const Extension* TestExtensionService::GetExtensionById(
35 const std::string& id, bool include_disabled) const { 34 const std::string& id, bool include_disabled) const {
36 ADD_FAILURE(); 35 ADD_FAILURE();
37 return NULL; 36 return NULL;
38 } 37 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void TestExtensionService::UnloadExtension( 88 void TestExtensionService::UnloadExtension(
90 const std::string& extension_id, 89 const std::string& extension_id,
91 extensions::UnloadedExtensionInfo::Reason reason) { 90 extensions::UnloadedExtensionInfo::Reason reason) {
92 ADD_FAILURE(); 91 ADD_FAILURE();
93 } 92 }
94 93
95 void TestExtensionService::RemoveComponentExtension( 94 void TestExtensionService::RemoveComponentExtension(
96 const std::string& extension_id) { 95 const std::string& extension_id) {
97 ADD_FAILURE(); 96 ADD_FAILURE();
98 } 97 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_service.h ('k') | chrome/browser/extensions/updater/extension_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698