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

Side by Side Diff: sync/internal_api/public/util/experiments.h

Issue 10534080: sync: move internal_api components used by chrome/browser into internal_api/public (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 6 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/internal_api/public/user_share.h ('k') | sync/internal_api/public/util/immutable.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 SYNC_UTIL_EXPERIMENTS_ 5 #ifndef SYNC_UTIL_EXPERIMENTS_
6 #define SYNC_UTIL_EXPERIMENTS_ 6 #define SYNC_UTIL_EXPERIMENTS_
7 #pragma once 7 #pragma once
8 8
9 #include "sync/internal_api/public/syncable/model_type.h" 9 #include "sync/internal_api/public/syncable/model_type.h"
10 10
11 namespace browser_sync { 11 namespace browser_sync {
12 12
13 // A structure to hold the enable status of experimental sync features. 13 // A structure to hold the enable status of experimental sync features.
14 struct Experiments { 14 struct Experiments {
15 Experiments() : sync_tab_favicons(false) {} 15 Experiments() : sync_tab_favicons(false) {}
16 16
17 bool Matches(const Experiments& rhs) { 17 bool Matches(const Experiments& rhs) {
18 return (sync_tab_favicons == rhs.sync_tab_favicons); 18 return (sync_tab_favicons == rhs.sync_tab_favicons);
19 } 19 }
20 20
21 // Enable syncing of favicons within tab sync (only has an effect if tab sync 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. 22 // is already enabled). This takes effect on the next restart.
23 bool sync_tab_favicons; 23 bool sync_tab_favicons;
24 }; 24 };
25 25
26 } 26 }
27 27
28 #endif // SYNC_UTIL_EXPERIMENTS_ 28 #endif // SYNC_UTIL_EXPERIMENTS_
OLDNEW
« no previous file with comments | « sync/internal_api/public/user_share.h ('k') | sync/internal_api/public/util/immutable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698