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