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

Side by Side Diff: sync/internal_api/sync_encryption_handler_impl_unittest.cc

Issue 19627002: Use a direct include of the message_loop header in ppapi/, printing/, rlz/, sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "sync/internal_api/sync_encryption_handler_impl.h" 5 #include "sync/internal_api/sync_encryption_handler_impl.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/json/json_string_value_serializer.h" 10 #include "base/json/json_string_value_serializer.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/tracked_objects.h" 13 #include "base/tracked_objects.h"
14 #include "sync/internal_api/public/base/model_type_test_util.h" 14 #include "sync/internal_api/public/base/model_type_test_util.h"
15 #include "sync/internal_api/public/read_node.h" 15 #include "sync/internal_api/public/read_node.h"
16 #include "sync/internal_api/public/read_transaction.h" 16 #include "sync/internal_api/public/read_transaction.h"
17 #include "sync/internal_api/public/test/test_user_share.h"
17 #include "sync/internal_api/public/write_node.h" 18 #include "sync/internal_api/public/write_node.h"
18 #include "sync/internal_api/public/write_transaction.h" 19 #include "sync/internal_api/public/write_transaction.h"
19 #include "sync/internal_api/public/test/test_user_share.h"
20 #include "sync/protocol/nigori_specifics.pb.h" 20 #include "sync/protocol/nigori_specifics.pb.h"
21 #include "sync/protocol/sync.pb.h" 21 #include "sync/protocol/sync.pb.h"
22 #include "sync/syncable/entry.h" 22 #include "sync/syncable/entry.h"
23 #include "sync/syncable/mutable_entry.h" 23 #include "sync/syncable/mutable_entry.h"
24 #include "sync/syncable/syncable_write_transaction.h" 24 #include "sync/syncable/syncable_write_transaction.h"
25 #include "sync/test/engine/test_id_factory.h" 25 #include "sync/test/engine/test_id_factory.h"
26 #include "sync/test/fake_encryptor.h" 26 #include "sync/test/fake_encryptor.h"
27 #include "sync/util/cryptographer.h" 27 #include "sync/util/cryptographer.h"
28 #include "testing/gmock/include/gmock/gmock.h" 28 #include "testing/gmock/include/gmock/gmock.h"
29 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 2243 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 encryption_handler()->SetKeystoreKeys(keys, 2273 encryption_handler()->SetKeystoreKeys(keys,
2274 trans.GetWrappedTrans()); 2274 trans.GetWrappedTrans());
2275 } 2275 }
2276 PumpLoop(); 2276 PumpLoop();
2277 Mock::VerifyAndClearExpectations(observer()); 2277 Mock::VerifyAndClearExpectations(observer());
2278 2278
2279 VerifyMigratedNigoriWithTimestamp(1, CUSTOM_PASSPHRASE, kCustomPass); 2279 VerifyMigratedNigoriWithTimestamp(1, CUSTOM_PASSPHRASE, kCustomPass);
2280 } 2280 }
2281 2281
2282 } // namespace syncer 2282 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/sync_encryption_handler_impl.cc ('k') | sync/internal_api/sync_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698