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

Side by Side Diff: components/sync/engine_impl/js_sync_encryption_handler_observer_unittest.cc

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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
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 "components/sync/core_impl/js_sync_encryption_handler_observer.h" 5 #include "components/sync/engine_impl/js_sync_encryption_handler_observer.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "components/sync/base/cryptographer.h" 10 #include "components/sync/base/cryptographer.h"
11 #include "components/sync/base/fake_encryptor.h" 11 #include "components/sync/base/fake_encryptor.h"
12 #include "components/sync/base/model_type.h" 12 #include "components/sync/base/model_type.h"
13 #include "components/sync/base/passphrase_type.h" 13 #include "components/sync/base/passphrase_type.h"
14 #include "components/sync/base/time.h" 14 #include "components/sync/base/time.h"
15 #include "components/sync/engine/sync_string_conversions.h" 15 #include "components/sync/engine/sync_string_conversions.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 HandleJsEvent("onPassphraseTypeChanged", 156 HandleJsEvent("onPassphraseTypeChanged",
157 HasDetailsAsDictionary(passphrase_type_details))); 157 HasDetailsAsDictionary(passphrase_type_details)));
158 158
159 js_sync_encryption_handler_observer_.OnPassphraseTypeChanged( 159 js_sync_encryption_handler_observer_.OnPassphraseTypeChanged(
160 PassphraseType::IMPLICIT_PASSPHRASE, ProtoTimeToTime(10)); 160 PassphraseType::IMPLICIT_PASSPHRASE, ProtoTimeToTime(10));
161 PumpLoop(); 161 PumpLoop();
162 } 162 }
163 163
164 } // namespace 164 } // namespace
165 } // namespace syncer 165 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698