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

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

Issue 10682007: Move PendingExtensionManager and PendingExtensionInfo into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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/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 "sync/api/sync_error_factory.h" 8 #include "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 using extensions::Extension; 11 using extensions::Extension;
12 12
13 TestExtensionService::~TestExtensionService() {} 13 TestExtensionService::~TestExtensionService() {}
14 14
15 const ExtensionSet* TestExtensionService::extensions() const { 15 const ExtensionSet* TestExtensionService::extensions() const {
16 ADD_FAILURE(); 16 ADD_FAILURE();
17 return NULL; 17 return NULL;
18 } 18 }
19 19
20 const ExtensionSet* TestExtensionService::disabled_extensions() const { 20 const ExtensionSet* TestExtensionService::disabled_extensions() const {
21 ADD_FAILURE(); 21 ADD_FAILURE();
22 return NULL; 22 return NULL;
23 } 23 }
24 24
25 PendingExtensionManager* TestExtensionService::pending_extension_manager() { 25 extensions::PendingExtensionManager*
26 TestExtensionService::pending_extension_manager() {
26 ADD_FAILURE(); 27 ADD_FAILURE();
27 return NULL; 28 return NULL;
28 } 29 }
29 30
30 bool TestExtensionService::UpdateExtension( 31 bool TestExtensionService::UpdateExtension(
31 const std::string& id, 32 const std::string& id,
32 const FilePath& path, 33 const FilePath& path,
33 const GURL& download_url, 34 const GURL& download_url,
34 extensions::CrxInstaller** out_crx_installer) { 35 extensions::CrxInstaller** out_crx_installer) {
35 ADD_FAILURE(); 36 ADD_FAILURE();
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void TestExtensionService::UnloadExtension( 112 void TestExtensionService::UnloadExtension(
112 const std::string& extension_id, 113 const std::string& extension_id,
113 extension_misc::UnloadedExtensionReason reason) { 114 extension_misc::UnloadedExtensionReason reason) {
114 ADD_FAILURE(); 115 ADD_FAILURE();
115 } 116 }
116 117
117 void TestExtensionService::SyncExtensionChangeIfNeeded( 118 void TestExtensionService::SyncExtensionChangeIfNeeded(
118 const Extension& extension) { 119 const Extension& extension) {
119 ADD_FAILURE(); 120 ADD_FAILURE();
120 } 121 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_service.h ('k') | chrome/browser/sync/test/integration/sync_app_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698