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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "chrome/browser/extensions/extension_service.h" | 6 #include "chrome/browser/extensions/extension_service.h" |
| 7 #include "chrome/browser/extensions/extension_sync_service.h" |
7 #include "chrome/browser/extensions/launch_util.h" | 8 #include "chrome/browser/extensions/launch_util.h" |
8 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
9 #include "chrome/browser/sync/test/integration/apps_helper.h" | 10 #include "chrome/browser/sync/test/integration/apps_helper.h" |
10 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" | 11 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" |
11 #include "chrome/browser/sync/test/integration/sync_app_helper.h" | 12 #include "chrome/browser/sync/test/integration/sync_app_helper.h" |
12 #include "chrome/browser/sync/test/integration/sync_test.h" | 13 #include "chrome/browser/sync/test/integration/sync_test.h" |
13 #include "chrome/common/extensions/extension_constants.h" | 14 #include "chrome/common/extensions/extension_constants.h" |
14 #include "extensions/browser/app_sorting.h" | 15 #include "extensions/browser/app_sorting.h" |
15 #include "extensions/browser/extension_prefs.h" | 16 #include "extensions/browser/extension_prefs.h" |
16 #include "sync/api/string_ordinal.h" | 17 #include "sync/api/string_ordinal.h" |
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 extension_sync_service->ProcessAppSyncData(invalid_launch_type_data); | 490 extension_sync_service->ProcessAppSyncData(invalid_launch_type_data); |
490 | 491 |
491 // The launch type should remain the same. | 492 // The launch type should remain the same. |
492 ASSERT_TRUE(AwaitQuiescence()); | 493 ASSERT_TRUE(AwaitQuiescence()); |
493 ASSERT_TRUE(AllProfilesHaveSameAppsAsVerifier()); | 494 ASSERT_TRUE(AllProfilesHaveSameAppsAsVerifier()); |
494 } | 495 } |
495 | 496 |
496 // TODO(akalin): Add tests exercising: | 497 // TODO(akalin): Add tests exercising: |
497 // - Offline installation/uninstallation behavior | 498 // - Offline installation/uninstallation behavior |
498 // - App-specific properties | 499 // - App-specific properties |
OLD | NEW |