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 <stddef.h> |
| 6 |
| 7 #include "base/macros.h" |
6 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
7 #include "chrome/browser/chrome_notification_types.h" | 9 #include "chrome/browser/chrome_notification_types.h" |
8 #include "chrome/browser/extensions/bookmark_app_helper.h" | 10 #include "chrome/browser/extensions/bookmark_app_helper.h" |
9 #include "chrome/browser/extensions/extension_service.h" | 11 #include "chrome/browser/extensions/extension_service.h" |
10 #include "chrome/browser/extensions/extension_sync_data.h" | 12 #include "chrome/browser/extensions/extension_sync_data.h" |
11 #include "chrome/browser/extensions/extension_sync_service.h" | 13 #include "chrome/browser/extensions/extension_sync_service.h" |
12 #include "chrome/browser/extensions/launch_util.h" | 14 #include "chrome/browser/extensions/launch_util.h" |
13 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
14 #include "chrome/browser/sync/test/integration/apps_helper.h" | 16 #include "chrome/browser/sync/test/integration/apps_helper.h" |
15 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" | 17 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 content::WindowedNotificationObserver windowed_observer( | 464 content::WindowedNotificationObserver windowed_observer( |
463 extensions::NOTIFICATION_CRX_INSTALLER_DONE, | 465 extensions::NOTIFICATION_CRX_INSTALLER_DONE, |
464 base::Bind(&AllProfilesHaveSameAppsAsVerifier)); | 466 base::Bind(&AllProfilesHaveSameAppsAsVerifier)); |
465 windowed_observer.Wait(); | 467 windowed_observer.Wait(); |
466 } | 468 } |
467 } | 469 } |
468 | 470 |
469 // TODO(akalin): Add tests exercising: | 471 // TODO(akalin): Add tests exercising: |
470 // - Offline installation/uninstallation behavior | 472 // - Offline installation/uninstallation behavior |
471 // - App-specific properties | 473 // - App-specific properties |
OLD | NEW |