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

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

Issue 2466463002: Revert of [Sync] IWYU cleanup. (Closed)
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/engine_impl/loopback_server/loopback_server.h" 5 #include "components/sync/engine_impl/loopback_server/loopback_server.h"
6 6
7 #include <stdint.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <limits> 10 #include <limits>
11 #include <memory>
9 #include <set> 12 #include <set>
13 #include <string>
10 #include <utility> 14 #include <utility>
15 #include <vector>
11 16
12 #include "base/files/file_util.h" 17 #include "base/files/file_util.h"
13 #include "base/guid.h" 18 #include "base/guid.h"
14 #include "base/logging.h" 19 #include "base/logging.h"
15 #include "base/rand_util.h" 20 #include "base/rand_util.h"
16 #include "base/stl_util.h" 21 #include "base/stl_util.h"
17 #include "base/strings/string_number_conversions.h" 22 #include "base/strings/string_number_conversions.h"
18 #include "base/strings/string_util.h" 23 #include "base/strings/string_util.h"
19 #include "base/strings/stringprintf.h" 24 #include "base/strings/stringprintf.h"
20 #include "base/synchronization/lock.h" 25 #include "base/synchronization/lock.h"
26 #include "components/sync/base/model_type.h"
21 #include "components/sync/engine_impl/loopback_server/persistent_bookmark_entity .h" 27 #include "components/sync/engine_impl/loopback_server/persistent_bookmark_entity .h"
22 #include "components/sync/engine_impl/loopback_server/persistent_permanent_entit y.h" 28 #include "components/sync/engine_impl/loopback_server/persistent_permanent_entit y.h"
23 #include "components/sync/engine_impl/loopback_server/persistent_tombstone_entit y.h" 29 #include "components/sync/engine_impl/loopback_server/persistent_tombstone_entit y.h"
24 #include "components/sync/engine_impl/loopback_server/persistent_unique_client_e ntity.h" 30 #include "components/sync/engine_impl/loopback_server/persistent_unique_client_e ntity.h"
25 #include "net/base/net_errors.h" 31 #include "net/base/net_errors.h"
26 #include "net/http/http_status_code.h" 32 #include "net/http/http_status_code.h"
27 33
28 using std::string; 34 using std::string;
29 using std::vector; 35 using std::vector;
30 36
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 // write. 547 // write.
542 LOG(ERROR) << "Loopback sync can not read the persistent state file."; 548 LOG(ERROR) << "Loopback sync can not read the persistent state file.";
543 return false; 549 return false;
544 } 550 }
545 } 551 }
546 LOG(WARNING) << "Loopback sync persistent state file does not exist."; 552 LOG(WARNING) << "Loopback sync persistent state file does not exist.";
547 return false; 553 return false;
548 } 554 }
549 555
550 } // namespace syncer 556 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698