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

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: rebase and move v2 component app added in r169911 (and r170087) into background section in componen… Created 8 years 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 base::SequencedTaskRunner* TestExtensionService::GetFileTaskRunner() { 114 base::SequencedTaskRunner* TestExtensionService::GetFileTaskRunner() {
115 ADD_FAILURE(); 115 ADD_FAILURE();
116 return NULL; 116 return NULL;
117 } 117 }
118 118
119 void TestExtensionService::AddExtension(const Extension* extension) { 119 void TestExtensionService::AddExtension(const Extension* extension) {
120 ADD_FAILURE(); 120 ADD_FAILURE();
121 } 121 }
122 122
123 void TestExtensionService::AddComponentExtension(const Extension* extension) {
124 ADD_FAILURE();
125 }
126
123 void TestExtensionService::UnloadExtension( 127 void TestExtensionService::UnloadExtension(
124 const std::string& extension_id, 128 const std::string& extension_id,
125 extension_misc::UnloadedExtensionReason reason) { 129 extension_misc::UnloadedExtensionReason reason) {
126 ADD_FAILURE(); 130 ADD_FAILURE();
127 } 131 }
128 132
129 void TestExtensionService::SyncExtensionChangeIfNeeded( 133 void TestExtensionService::SyncExtensionChangeIfNeeded(
130 const Extension& extension) { 134 const Extension& extension) {
131 ADD_FAILURE(); 135 ADD_FAILURE();
132 } 136 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698