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

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

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase 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/apps_helper.h" 5 #include "chrome/browser/sync/test/integration/apps_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 "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 void AppsMatchChecker::OnExtensionLoaded( 206 void AppsMatchChecker::OnExtensionLoaded(
207 content::BrowserContext* context, 207 content::BrowserContext* context,
208 const extensions::Extension* extension) { 208 const extensions::Extension* extension) {
209 CheckExitCondition(); 209 CheckExitCondition();
210 } 210 }
211 211
212 void AppsMatchChecker::OnExtensionUnloaded( 212 void AppsMatchChecker::OnExtensionUnloaded(
213 content::BrowserContext* context, 213 content::BrowserContext* context,
214 const extensions::Extension* extenion, 214 const extensions::Extension* extenion,
215 extensions::UnloadedExtensionInfo::Reason reason) { 215 extensions::UnloadedExtensionReason reason) {
216 CheckExitCondition(); 216 CheckExitCondition();
217 } 217 }
218 218
219 void AppsMatchChecker::OnExtensionInstalled( 219 void AppsMatchChecker::OnExtensionInstalled(
220 content::BrowserContext* browser_context, 220 content::BrowserContext* browser_context,
221 const extensions::Extension* extension, 221 const extensions::Extension* extension,
222 bool is_update) { 222 bool is_update) {
223 CheckExitCondition(); 223 CheckExitCondition();
224 } 224 }
225 225
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 CheckExitCondition(); 258 CheckExitCondition();
259 } 259 }
260 260
261 void AppsMatchChecker::Observe(int type, 261 void AppsMatchChecker::Observe(int type,
262 const content::NotificationSource& source, 262 const content::NotificationSource& source,
263 const content::NotificationDetails& details) { 263 const content::NotificationDetails& details) {
264 DCHECK_EQ(chrome::NOTIFICATION_APP_LAUNCHER_REORDERED, type); 264 DCHECK_EQ(chrome::NOTIFICATION_APP_LAUNCHER_REORDERED, type);
265 CheckExitCondition(); 265 CheckExitCondition();
266 } 266 }
267 267
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/apps_helper.h ('k') | chrome/browser/sync/test/integration/extensions_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698