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

Side by Side Diff: components/sync/test/fake_server/android/fake_server_helper_android.cc

Issue 2389063002: [Sync] Fixing easy lint violations. (Closed)
Patch Set: Updated for Max's 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/test/fake_server/android/fake_server_helper_android.h" 5 #include "components/sync/test/fake_server/android/fake_server_helper_android.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory>
10 #include <set> 9 #include <set>
11 #include <vector> 10 #include <vector>
12 11
13 #include "base/android/jni_array.h" 12 #include "base/android/jni_array.h"
14 #include "base/android/jni_string.h" 13 #include "base/android/jni_string.h"
15 #include "base/logging.h" 14 #include "base/logging.h"
16 #include "components/sync/base/model_type.h" 15 #include "components/sync/base/model_type.h"
17 #include "components/sync/core/network_resources.h" 16 #include "components/sync/core/network_resources.h"
18 #include "components/sync/protocol/sync.pb.h" 17 #include "components/sync/protocol/sync.pb.h"
19 #include "components/sync/test/fake_server/bookmark_entity_builder.h" 18 #include "components/sync/test/fake_server/bookmark_entity_builder.h"
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 jlong fake_server) { 306 jlong fake_server) {
308 fake_server::FakeServer* fake_server_ptr = 307 fake_server::FakeServer* fake_server_ptr =
309 reinterpret_cast<fake_server::FakeServer*>(fake_server); 308 reinterpret_cast<fake_server::FakeServer*>(fake_server);
310 fake_server_ptr->ClearServerData(); 309 fake_server_ptr->ClearServerData();
311 } 310 }
312 311
313 // static 312 // static
314 bool FakeServerHelperAndroid::Register(JNIEnv* env) { 313 bool FakeServerHelperAndroid::Register(JNIEnv* env) {
315 return RegisterNativesImpl(env); 314 return RegisterNativesImpl(env);
316 } 315 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698