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

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

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable 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/fake_server.h" 5 #include "components/sync/test/fake_server/fake_server.h"
6 6
7 #include <stdint.h>
8
9 #include <algorithm> 7 #include <algorithm>
10 #include <limits> 8 #include <limits>
11 #include <memory>
12 #include <set> 9 #include <set>
13 #include <string>
14 #include <utility> 10 #include <utility>
15 #include <vector>
16 11
17 #include "base/guid.h" 12 #include "base/guid.h"
18 #include "base/logging.h" 13 #include "base/logging.h"
19 #include "base/stl_util.h" 14 #include "base/stl_util.h"
20 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
21 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
22 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
23 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
24 #include "components/sync/base/model_type.h"
25 #include "components/sync/protocol/sync.pb.h"
26 #include "components/sync/test/fake_server/bookmark_entity.h" 19 #include "components/sync/test/fake_server/bookmark_entity.h"
27 #include "components/sync/test/fake_server/permanent_entity.h" 20 #include "components/sync/test/fake_server/permanent_entity.h"
28 #include "components/sync/test/fake_server/tombstone_entity.h" 21 #include "components/sync/test/fake_server/tombstone_entity.h"
29 #include "components/sync/test/fake_server/unique_client_entity.h" 22 #include "components/sync/test/fake_server/unique_client_entity.h"
30 #include "net/base/net_errors.h" 23 #include "net/base/net_errors.h"
31 #include "net/http/http_status_code.h" 24 #include "net/http/http_status_code.h"
32 25
33 using std::string; 26 using std::string;
34 using std::vector; 27 using std::vector;
35 28
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 DCHECK(thread_checker_.CalledOnValidThread()); 720 DCHECK(thread_checker_.CalledOnValidThread());
728 return weak_ptr_factory_.GetWeakPtr(); 721 return weak_ptr_factory_.GetWeakPtr();
729 } 722 }
730 723
731 std::string FakeServer::GetStoreBirthday() const { 724 std::string FakeServer::GetStoreBirthday() const {
732 DCHECK(thread_checker_.CalledOnValidThread()); 725 DCHECK(thread_checker_.CalledOnValidThread());
733 return base::Int64ToString(store_birthday_); 726 return base::Int64ToString(store_birthday_);
734 } 727 }
735 728
736 } // namespace fake_server 729 } // namespace fake_server
OLDNEW
« no previous file with comments | « components/sync/test/fake_server/entity_builder_factory.cc ('k') | components/sync/test/fake_server/fake_server_entity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698