OLD | NEW |
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/sync_app_helper.h" | 5 #include "chrome/browser/sync/test/integration/sync_app_helper.h" |
6 | 6 |
| 7 #include <list> |
| 8 #include <map> |
| 9 #include <memory> |
| 10 |
7 #include "chrome/browser/extensions/extension_service.h" | 11 #include "chrome/browser/extensions/extension_service.h" |
8 #include "chrome/browser/extensions/launch_util.h" | 12 #include "chrome/browser/extensions/launch_util.h" |
9 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/sync/test/integration/extensions_helper.h" | 14 #include "chrome/browser/sync/test/integration/extensions_helper.h" |
11 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" | 15 #include "chrome/browser/sync/test/integration/sync_datatype_helper.h" |
12 #include "chrome/browser/sync/test/integration/sync_extension_helper.h" | 16 #include "chrome/browser/sync/test/integration/sync_extension_helper.h" |
13 #include "chrome/common/extensions/extension_constants.h" | 17 #include "chrome/common/extensions/extension_constants.h" |
14 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" | 18 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" |
15 #include "chrome/common/extensions/sync_helper.h" | 19 #include "chrome/common/extensions/sync_helper.h" |
16 #include "components/crx_file/id_util.h" | 20 #include "components/crx_file/id_util.h" |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 crx_file::id_util::GenerateId(name), app_launch_ordinal); | 217 crx_file::id_util::GenerateId(name), app_launch_ordinal); |
214 } | 218 } |
215 | 219 |
216 void SyncAppHelper::FixNTPOrdinalCollisions(Profile* profile) { | 220 void SyncAppHelper::FixNTPOrdinalCollisions(Profile* profile) { |
217 ExtensionSystem::Get(profile)->app_sorting()->FixNTPOrdinalCollisions(); | 221 ExtensionSystem::Get(profile)->app_sorting()->FixNTPOrdinalCollisions(); |
218 } | 222 } |
219 | 223 |
220 SyncAppHelper::SyncAppHelper() : setup_completed_(false) {} | 224 SyncAppHelper::SyncAppHelper() : setup_completed_(false) {} |
221 | 225 |
222 SyncAppHelper::~SyncAppHelper() {} | 226 SyncAppHelper::~SyncAppHelper() {} |
OLD | NEW |