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

Unified Diff: chrome/browser/background/background_application_list_model_unittest.cc

Issue 7187023: Adding an experimental app notification API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing clang errors Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/background/background_application_list_model_unittest.cc
diff --git a/chrome/browser/background/background_application_list_model_unittest.cc b/chrome/browser/background/background_application_list_model_unittest.cc
index 530c76b7b44686ada7704e9829546333e9f44ce1..594e4a7311d63b12bdac14039fce8229f3488389 100644
--- a/chrome/browser/background/background_application_list_model_unittest.cc
+++ b/chrome/browser/background/background_application_list_model_unittest.cc
@@ -134,7 +134,7 @@ TEST_F(BackgroundApplicationListModelTest, LoadExplicitExtensions) {
ASSERT_EQ(0U, model->size());
}
-typedef std::set<scoped_refptr<Extension> > ExtensionSet;
+typedef std::set<scoped_refptr<Extension> > ExtensionCollection;
namespace {
std::string GenerateUniqueExtensionName() {
@@ -160,7 +160,7 @@ TEST_F(BackgroundApplicationListModelTest, LoadRandomExtension) {
ASSERT_EQ(0U, model->size());
static const int kIterations = 500;
- ExtensionSet extensions;
+ ExtensionCollection extensions;
size_t count = 0;
size_t expected = 0;
srand(RANDOM_SEED);
@@ -183,7 +183,7 @@ TEST_F(BackgroundApplicationListModelTest, LoadRandomExtension) {
ASSERT_EQ(count, service->extensions()->size());
ASSERT_EQ(expected, model->size());
} else { // Maybe remove an extension.
- ExtensionSet::iterator cursor = extensions.begin();
+ ExtensionCollection::iterator cursor = extensions.begin();
if (cursor == extensions.end()) {
// Nothing to remove. Just verify accounting.
ASSERT_EQ(0U, count);
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/extensions/extension_app_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698