| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SYNC_UTIL_EXPERIMENTS_ | |
| 6 #define SYNC_UTIL_EXPERIMENTS_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "sync/internal_api/public/syncable/model_type.h" | |
| 10 | |
| 11 namespace browser_sync { | |
| 12 | |
| 13 // A structure to hold the enable status of experimental sync features. | |
| 14 struct Experiments { | |
| 15 Experiments() : sync_tab_favicons(false) {} | |
| 16 | |
| 17 bool Matches(const Experiments& rhs) { | |
| 18 return (sync_tab_favicons == rhs.sync_tab_favicons); | |
| 19 } | |
| 20 | |
| 21 // Enable syncing of favicons within tab sync (only has an effect if tab sync | |
| 22 // is already enabled). This takes effect on the next restart. | |
| 23 bool sync_tab_favicons; | |
| 24 }; | |
| 25 | |
| 26 } | |
| 27 | |
| 28 #endif // SYNC_UTIL_EXPERIMENTS_ | |
| OLD | NEW |