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

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

Issue 6965018: Install CRX updates one at a time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Polish Created 9 years, 6 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
« no previous file with comments | « chrome/browser/extensions/test_extension_service.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/extension_sync_data.h" 6 #include "chrome/browser/extensions/extension_sync_data.h"
6 #include "chrome/browser/extensions/test_extension_service.h" 7 #include "chrome/browser/extensions/test_extension_service.h"
7 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
8 9
9 TestExtensionService::~TestExtensionService() {} 10 TestExtensionService::~TestExtensionService() {}
10 11
11 const ExtensionList* TestExtensionService::extensions() const { 12 const ExtensionList* TestExtensionService::extensions() const {
12 ADD_FAILURE(); 13 ADD_FAILURE();
13 return NULL; 14 return NULL;
14 } 15 }
15 16
16 PendingExtensionManager* TestExtensionService::pending_extension_manager() { 17 PendingExtensionManager* TestExtensionService::pending_extension_manager() {
17 ADD_FAILURE(); 18 ADD_FAILURE();
18 return NULL; 19 return NULL;
19 } 20 }
20 21
21 void TestExtensionService::UpdateExtension(const std::string& id, 22 bool TestExtensionService::UpdateExtension(
22 const FilePath& path, 23 const std::string& id,
23 const GURL& download_url) { 24 const FilePath& path,
25 const GURL& download_url,
26 CrxInstaller** out_crx_installer) {
24 ADD_FAILURE(); 27 ADD_FAILURE();
28 return NULL;
25 } 29 }
26 30
27 const Extension* TestExtensionService::GetExtensionById( 31 const Extension* TestExtensionService::GetExtensionById(
28 const std::string& id, bool include_disabled) const { 32 const std::string& id, bool include_disabled) const {
29 ADD_FAILURE(); 33 ADD_FAILURE();
30 return NULL; 34 return NULL;
31 } 35 }
32 36
33 const Extension* TestExtensionService::GetInstalledExtension( 37 const Extension* TestExtensionService::GetInstalledExtension(
34 const std::string& id) const { 38 const std::string& id) const {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 ExtensionFilter filter) const { 76 ExtensionFilter filter) const {
73 ADD_FAILURE(); 77 ADD_FAILURE();
74 return std::vector<ExtensionSyncData>(); 78 return std::vector<ExtensionSyncData>();
75 } 79 }
76 80
77 void TestExtensionService::ProcessSyncData( 81 void TestExtensionService::ProcessSyncData(
78 const ExtensionSyncData& extension_sync_data, 82 const ExtensionSyncData& extension_sync_data,
79 ExtensionFilter filter) { 83 ExtensionFilter filter) {
80 ADD_FAILURE(); 84 ADD_FAILURE();
81 } 85 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698