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

Side by Side Diff: chrome/browser/sync/sync_prefs_unittest.cc

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More IWYU, missing link-time dependency for Chrome Frame. Created 9 years, 1 month 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
OLDNEW
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/sync_prefs.h" 5 #include "chrome/browser/sync/sync_prefs.h"
6 6
7 #include "base/message_loop.h"
7 #include "base/time.h" 8 #include "base/time.h"
8 #include "chrome/browser/sync/syncable/model_type.h" 9 #include "chrome/browser/sync/syncable/model_type.h"
9 #include "chrome/test/base/testing_pref_service.h" 10 #include "chrome/test/base/testing_pref_service.h"
10 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 namespace browser_sync { 14 namespace browser_sync {
14 15
15 namespace { 16 namespace {
16 17
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 const syncable::ModelTypeSet& non_passive_types = GetNonPassiveTypes(); 225 const syncable::ModelTypeSet& non_passive_types = GetNonPassiveTypes();
225 EXPECT_TRUE(sync_prefs.GetPreferredDataTypes(non_passive_types).empty()); 226 EXPECT_TRUE(sync_prefs.GetPreferredDataTypes(non_passive_types).empty());
226 EXPECT_FALSE(sync_prefs.IsManaged()); 227 EXPECT_FALSE(sync_prefs.IsManaged());
227 EXPECT_TRUE(sync_prefs.GetEncryptionBootstrapToken().empty()); 228 EXPECT_TRUE(sync_prefs.GetEncryptionBootstrapToken().empty());
228 EXPECT_TRUE(sync_prefs.GetAllMaxVersions().empty()); 229 EXPECT_TRUE(sync_prefs.GetAllMaxVersions().empty());
229 } 230 }
230 231
231 } // namespace 232 } // namespace
232 233
233 } // namespace browser_sync 234 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698