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

Side by Side Diff: chrome/browser/sync/test/integration/extensions_helper.cc

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Enum class Created 3 years, 7 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/sync/test/integration/extensions_helper.h" 5 #include "chrome/browser/sync/test/integration/extensions_helper.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "chrome/browser/chrome_notification_types.h" 10 #include "chrome/browser/chrome_notification_types.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 void ExtensionsMatchChecker::OnExtensionLoaded( 173 void ExtensionsMatchChecker::OnExtensionLoaded(
174 content::BrowserContext* context, 174 content::BrowserContext* context,
175 const extensions::Extension* extension) { 175 const extensions::Extension* extension) {
176 CheckExitCondition(); 176 CheckExitCondition();
177 } 177 }
178 178
179 void ExtensionsMatchChecker::OnExtensionUnloaded( 179 void ExtensionsMatchChecker::OnExtensionUnloaded(
180 content::BrowserContext* context, 180 content::BrowserContext* context,
181 const extensions::Extension* extenion, 181 const extensions::Extension* extenion,
182 extensions::UnloadedExtensionInfo::Reason reason) { 182 extensions::UnloadedExtensionReason reason) {
183 CheckExitCondition(); 183 CheckExitCondition();
184 } 184 }
185 185
186 void ExtensionsMatchChecker::OnExtensionInstalled( 186 void ExtensionsMatchChecker::OnExtensionInstalled(
187 content::BrowserContext* browser_context, 187 content::BrowserContext* browser_context,
188 const extensions::Extension* extension, 188 const extensions::Extension* extension,
189 bool is_update) { 189 bool is_update) {
190 CheckExitCondition(); 190 CheckExitCondition();
191 } 191 }
192 192
193 void ExtensionsMatchChecker::OnExtensionUninstalled( 193 void ExtensionsMatchChecker::OnExtensionUninstalled(
194 content::BrowserContext* browser_context, 194 content::BrowserContext* browser_context,
195 const extensions::Extension* extension, 195 const extensions::Extension* extension,
196 extensions::UninstallReason reason) { 196 extensions::UninstallReason reason) {
197 CheckExitCondition(); 197 CheckExitCondition();
198 } 198 }
199 199
200 void ExtensionsMatchChecker::Observe( 200 void ExtensionsMatchChecker::Observe(
201 int type, 201 int type,
202 const content::NotificationSource& source, 202 const content::NotificationSource& source,
203 const content::NotificationDetails& details) { 203 const content::NotificationDetails& details) {
204 DCHECK_EQ(extensions::NOTIFICATION_EXTENSION_UPDATING_STARTED, type); 204 DCHECK_EQ(extensions::NOTIFICATION_EXTENSION_UPDATING_STARTED, type);
205 CheckExitCondition(); 205 CheckExitCondition();
206 } 206 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698