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

Side by Side Diff: chrome/browser/extensions/extension_migrator_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/extension_migrator.h" 5 #include "chrome/browser/extensions/extension_migrator.h"
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ptr_util.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "chrome/browser/extensions/extension_service.h" 11 #include "chrome/browser/extensions/extension_service.h"
11 #include "chrome/browser/extensions/extension_service_test_base.h" 12 #include "chrome/browser/extensions/extension_service_test_base.h"
12 #include "chrome/browser/extensions/external_provider_impl.h" 13 #include "chrome/browser/extensions/external_provider_impl.h"
13 #include "chrome/browser/extensions/pending_extension_manager.h" 14 #include "chrome/browser/extensions/pending_extension_manager.h"
14 #include "chrome/test/base/testing_profile.h" 15 #include "chrome/test/base/testing_profile.h"
15 #include "extensions/browser/extension_registry.h" 16 #include "extensions/browser/extension_registry.h"
16 #include "extensions/common/extension_builder.h" 17 #include "extensions/common/extension_builder.h"
17 18
18 namespace extensions { 19 namespace extensions {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 InitWithExistingProfile(); 100 InitWithExistingProfile();
100 AddExtension(kOldId); 101 AddExtension(kOldId);
101 AddExtension(kNewId); 102 AddExtension(kNewId);
102 service()->CheckForExternalUpdates(); 103 service()->CheckForExternalUpdates();
103 base::RunLoop().RunUntilIdle(); 104 base::RunLoop().RunUntilIdle();
104 EXPECT_TRUE(!!registry()->GetInstalledExtension(kOldId)); 105 EXPECT_TRUE(!!registry()->GetInstalledExtension(kOldId));
105 EXPECT_TRUE(!!registry()->GetInstalledExtension(kNewId)); 106 EXPECT_TRUE(!!registry()->GetInstalledExtension(kNewId));
106 } 107 }
107 108
108 } // namespace extensions 109 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_icon_manager_unittest.cc ('k') | chrome/browser/extensions/tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698