| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/glue/extension_sync_traits.h" | 5 #include "chrome/browser/sync/glue/extension_sync_traits.h" |
| 6 | 6 |
| 7 #include "base/string_piece.h" | 7 #include "base/string_piece.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/sync/glue/extension_util.h" | 9 #include "chrome/browser/sync/glue/extension_util.h" |
| 10 #include "chrome/browser/sync/internal_api/write_node.h" | 10 #include "chrome/browser/sync/internal_api/write_node.h" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 ExtensionSyncTraits GetAppSyncTraits() { | 126 ExtensionSyncTraits GetAppSyncTraits() { |
| 127 return ExtensionSyncTraits(syncable::APPS, | 127 return ExtensionSyncTraits(syncable::APPS, |
| 128 &IsValidAndSyncableApp, | 128 &IsValidAndSyncableApp, |
| 129 "google_chrome_apps", | 129 "google_chrome_apps", |
| 130 &GetExtensionSpecificsOfApp, | 130 &GetExtensionSpecificsOfApp, |
| 131 &SetExtensionSpecificsOfApp, | 131 &SetExtensionSpecificsOfApp, |
| 132 &GetExtensionSpecificsFromEntityOfApp); | 132 &GetExtensionSpecificsFromEntityOfApp); |
| 133 } | 133 } |
| 134 | 134 |
| 135 } // namespace browser_sync | 135 } // namespace browser_sync |
| OLD | NEW |