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

Side by Side Diff: sync/test/local_sync_test_server.cc

Issue 16358024: Use a direct include of strings headers in rlz/, sandbox/, skia/, sql/, sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « sync/test/engine/test_id_factory.h ('k') | sync/tools/testserver/run_sync_testserver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "sync/test/local_sync_test_server.h" 5 #include "sync/test/local_sync_test_server.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "net/test/python_utils.h" 11 #include "net/test/python_utils.h"
12 #include "net/test/spawned_test_server/spawned_test_server.h" 12 #include "net/test/spawned_test_server/spawned_test_server.h"
13 13
14 namespace syncer { 14 namespace syncer {
15 15
16 LocalSyncTestServer::LocalSyncTestServer() 16 LocalSyncTestServer::LocalSyncTestServer()
17 : LocalTestServer( 17 : LocalTestServer(
18 net::SpawnedTestServer::TYPE_HTTP, // Sync uses the HTTP scheme. 18 net::SpawnedTestServer::TYPE_HTTP, // Sync uses the HTTP scheme.
19 net::SpawnedTestServer::kLocalhost, 19 net::SpawnedTestServer::kLocalhost,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 if (!GetPyProtoPath(&pyproto_dir)) { 86 if (!GetPyProtoPath(&pyproto_dir)) {
87 LOG(WARNING) << "Cannot find pyproto dir for generated code. " 87 LOG(WARNING) << "Cannot find pyproto dir for generated code. "
88 << "Testserver features that rely on it will not work"; 88 << "Testserver features that rely on it will not work";
89 return true; 89 return true;
90 } 90 }
91 AppendToPythonPath(pyproto_dir.AppendASCII("sync").AppendASCII("protocol")); 91 AppendToPythonPath(pyproto_dir.AppendASCII("sync").AppendASCII("protocol"));
92 return true; 92 return true;
93 } 93 }
94 94
95 } // namespace syncer 95 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/test/engine/test_id_factory.h ('k') | sync/tools/testserver/run_sync_testserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698