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

Side by Side Diff: components/sync/test/engine/mock_connection_manager.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 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 // Mock ServerConnectionManager class for use in client regression tests. 5 // Mock ServerConnectionManager class for use in client regression tests.
6 6
7 #include "components/sync/test/engine/mock_connection_manager.h" 7 #include "components/sync/test/engine/mock_connection_manager.h"
8 8
9 #include <stdint.h>
10
11 #include <map> 9 #include <map>
12 10
13 #include "base/location.h" 11 #include "base/location.h"
14 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
15 #include "components/sync/engine_impl/syncer_proto_util.h" 13 #include "components/sync/engine_impl/syncer_proto_util.h"
16 #include "components/sync/protocol/bookmark_specifics.pb.h" 14 #include "components/sync/protocol/bookmark_specifics.pb.h"
17 #include "components/sync/syncable/directory.h" 15 #include "components/sync/syncable/directory.h"
18 #include "components/sync/syncable/syncable_write_transaction.h" 16 #include "components/sync/syncable/syncable_write_transaction.h"
19 #include "components/sync/test/engine/test_id_factory.h" 17 #include "components/sync/test/engine/test_id_factory.h"
20 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 server_status_ = HttpResponse::SERVER_CONNECTION_OK; 757 server_status_ = HttpResponse::SERVER_CONNECTION_OK;
760 } 758 }
761 } 759 }
762 760
763 void MockConnectionManager::SetServerStatus( 761 void MockConnectionManager::SetServerStatus(
764 HttpResponse::ServerConnectionCode server_status) { 762 HttpResponse::ServerConnectionCode server_status) {
765 server_status_ = server_status; 763 server_status_ = server_status;
766 } 764 }
767 765
768 } // namespace syncer 766 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/syncable/write_transaction_info.cc ('k') | components/sync/test/engine/mock_model_type_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698