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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_unittest.cc

Issue 10500016: Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
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 #include "chrome/browser/sync/glue/sync_backend_host.h" 5 #include "chrome/browser/sync/glue/sync_backend_host.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "chrome/browser/sync/invalidations/invalidator_storage.h" 11 #include "chrome/browser/sync/invalidations/invalidator_storage.h"
12 #include "chrome/browser/sync/sync_prefs.h" 12 #include "chrome/browser/sync/sync_prefs.h"
13 #include "chrome/test/base/testing_profile.h" 13 #include "chrome/test/base/testing_profile.h"
14 #include "content/test/test_browser_thread.h" 14 #include "content/public/test/test_browser_thread.h"
15 #include "content/test/test_url_fetcher_factory.h" 15 #include "content/test/test_url_fetcher_factory.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "sync/engine/model_safe_worker.h" 17 #include "sync/engine/model_safe_worker.h"
18 #include "sync/protocol/encryption.pb.h" 18 #include "sync/protocol/encryption.pb.h"
19 #include "sync/protocol/sync_protocol_error.h" 19 #include "sync/protocol/sync_protocol_error.h"
20 #include "sync/syncable/model_type.h" 20 #include "sync/syncable/model_type.h"
21 #include "sync/util/experiments.h" 21 #include "sync/util/experiments.h"
22 #include "sync/util/test_unrecoverable_error_handler.h" 22 #include "sync/util/test_unrecoverable_error_handler.h"
23 #include "testing/gmock/include/gmock/gmock.h" 23 #include "testing/gmock/include/gmock/gmock.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 true, 112 true,
113 &handler, 113 &handler,
114 NULL); 114 NULL);
115 backend.StopSyncingForShutdown(); 115 backend.StopSyncingForShutdown();
116 backend.Shutdown(false); 116 backend.Shutdown(false);
117 } 117 }
118 118
119 // TODO(akalin): Write more SyncBackendHost unit tests. 119 // TODO(akalin): Write more SyncBackendHost unit tests.
120 120
121 } // namespace browser_sync 121 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698