Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: sync/util/sync_experiments.h

Issue 10235013: [Sync] Add support for automatic enabling of syncing tab favicons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/sync.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_SYNC_EXPERIMENTS_
6 #define SYNC_UTIL_SYNC_EXPERIMENTS_
7 #pragma once
8
9 #include "sync/syncable/model_type.h"
10
11 namespace browser_sync {
12
13 // A structure to hold the enable status of experimental sync features.
14 struct SyncExperiments {
tim (not reviewing) 2012/04/26 22:25:32 Since this is already in browser_sync, I think jus
Nicolas Zea 2012/04/26 22:50:30 Done.
15 SyncExperiments() : sync_tabs(false), sync_tab_favicons(false) {}
16
17 bool Matches(const SyncExperiments& rhs) {
18 return (sync_tabs == rhs.sync_tabs) &&
19 (sync_tab_favicons == rhs.sync_tab_favicons);
20 }
21
22 // Enable the tab sync (SESSIONS) datatype.
23 bool sync_tabs;
24
25 // Enable syncing of favicons within tab sync (only has an effect if tab sync
26 // is already enabled). This takes effect on the next restart.
27 bool sync_tab_favicons;
28 };
29
30 }
31
32 #endif // SYNC_UTIL_SYNC_EXPERIMENTS_
OLDNEW
« no previous file with comments | « sync/sync.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698