| 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 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ |
| 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 // |profile|. | 46 // |profile|. |
| 47 void SetAppLaunchOrdinalForApp( | 47 void SetAppLaunchOrdinalForApp( |
| 48 Profile* profile, | 48 Profile* profile, |
| 49 const std::string& name, | 49 const std::string& name, |
| 50 const syncer::StringOrdinal& app_launch_ordinal); | 50 const syncer::StringOrdinal& app_launch_ordinal); |
| 51 | 51 |
| 52 // Fix any NTP icon collisions that are currently in |profile|. | 52 // Fix any NTP icon collisions that are currently in |profile|. |
| 53 void FixNTPOrdinalCollisions(Profile* profile); | 53 void FixNTPOrdinalCollisions(Profile* profile); |
| 54 | 54 |
| 55 private: | 55 private: |
| 56 friend struct DefaultSingletonTraits<SyncAppHelper>; | 56 friend struct base::DefaultSingletonTraits<SyncAppHelper>; |
| 57 | 57 |
| 58 SyncAppHelper(); | 58 SyncAppHelper(); |
| 59 ~SyncAppHelper(); | 59 ~SyncAppHelper(); |
| 60 | 60 |
| 61 bool setup_completed_; | 61 bool setup_completed_; |
| 62 | 62 |
| 63 DISALLOW_COPY_AND_ASSIGN(SyncAppHelper); | 63 DISALLOW_COPY_AND_ASSIGN(SyncAppHelper); |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ | 66 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_APP_HELPER_H_ |
| OLD | NEW |