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

Side by Side Diff: extensions/browser/extension_registry_unittest.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 4 years, 12 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
« no previous file with comments | « extensions/browser/extension_registry_factory.h ('k') | extensions/browser/extension_system.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "extensions/browser/extension_registry.h" 5 #include "extensions/browser/extension_registry.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
10 #include "extensions/browser/extension_registry_observer.h" 11 #include "extensions/browser/extension_registry_observer.h"
11 #include "extensions/browser/uninstall_reason.h" 12 #include "extensions/browser/uninstall_reason.h"
12 #include "extensions/common/test_util.h" 13 #include "extensions/common/test_util.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 namespace extensions { 16 namespace extensions {
16 namespace { 17 namespace {
17 18
18 typedef testing::Test ExtensionRegistryTest; 19 typedef testing::Test ExtensionRegistryTest;
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 268
268 registry.TriggerOnUninstalled(extension.get(), UNINSTALL_REASON_FOR_TESTING); 269 registry.TriggerOnUninstalled(extension.get(), UNINSTALL_REASON_FOR_TESTING);
269 EXPECT_TRUE(observer.installed().empty()); 270 EXPECT_TRUE(observer.installed().empty());
270 EXPECT_TRUE(HasSingleExtension(observer.uninstalled(), extension.get())); 271 EXPECT_TRUE(HasSingleExtension(observer.uninstalled(), extension.get()));
271 272
272 registry.RemoveObserver(&observer); 273 registry.RemoveObserver(&observer);
273 } 274 }
274 275
275 } // namespace 276 } // namespace
276 } // namespace extensions 277 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/extension_registry_factory.h ('k') | extensions/browser/extension_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698