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

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

Issue 11275069: Perform install tasks for newly installed or upgraded component apps/extensions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: various fixes Created 8 years, 1 month 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
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 base::SequencedTaskRunner* TestExtensionService::GetFileTaskRunner() { 113 base::SequencedTaskRunner* TestExtensionService::GetFileTaskRunner() {
114 ADD_FAILURE(); 114 ADD_FAILURE();
115 return NULL; 115 return NULL;
116 } 116 }
117 117
118 void TestExtensionService::AddExtension(const Extension* extension) { 118 void TestExtensionService::AddExtension(const Extension* extension) {
119 ADD_FAILURE(); 119 ADD_FAILURE();
120 } 120 }
121 121
122 void TestExtensionService::AddComponentExtension(const Extension* extension) {
123 ADD_FAILURE();
124 }
125
122 void TestExtensionService::UnloadExtension( 126 void TestExtensionService::UnloadExtension(
123 const std::string& extension_id, 127 const std::string& extension_id,
124 extension_misc::UnloadedExtensionReason reason) { 128 extension_misc::UnloadedExtensionReason reason) {
125 ADD_FAILURE(); 129 ADD_FAILURE();
126 } 130 }
127 131
128 void TestExtensionService::SyncExtensionChangeIfNeeded( 132 void TestExtensionService::SyncExtensionChangeIfNeeded(
129 const Extension& extension) { 133 const Extension& extension) {
130 ADD_FAILURE(); 134 ADD_FAILURE();
131 } 135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698