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

Side by Side Diff: chrome/browser/safe_browsing/local_two_phase_testserver.h

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 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 #ifndef CHROME_BROWSER_SAFE_BROWSING_LOCAL_TWO_PHASE_TESTSERVER_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_LOCAL_TWO_PHASE_TESTSERVER_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_LOCAL_TWO_PHASE_TESTSERVER_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_LOCAL_TWO_PHASE_TESTSERVER_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/macros.h"
11 #include "net/test/spawned_test_server/local_test_server.h" 11 #include "net/test/spawned_test_server/local_test_server.h"
12 12
13 namespace safe_browsing { 13 namespace safe_browsing {
14 14
15 // Runs a Python-based two phase upload test server on the same machine in which 15 // Runs a Python-based two phase upload test server on the same machine in which
16 // the LocalTwoPhaseTestServer runs. 16 // the LocalTwoPhaseTestServer runs.
17 class LocalTwoPhaseTestServer : public net::LocalTestServer { 17 class LocalTwoPhaseTestServer : public net::LocalTestServer {
18 public: 18 public:
19 // Initialize a two phase protocol test server. 19 // Initialize a two phase protocol test server.
20 LocalTwoPhaseTestServer(); 20 LocalTwoPhaseTestServer();
21 21
22 ~LocalTwoPhaseTestServer() override; 22 ~LocalTwoPhaseTestServer() override;
23 23
24 // Returns the path to two_phase_testserver.py. 24 // Returns the path to two_phase_testserver.py.
25 bool GetTestServerPath(base::FilePath* testserver_path) const override; 25 bool GetTestServerPath(base::FilePath* testserver_path) const override;
26 26
27 private: 27 private:
28 DISALLOW_COPY_AND_ASSIGN(LocalTwoPhaseTestServer); 28 DISALLOW_COPY_AND_ASSIGN(LocalTwoPhaseTestServer);
29 }; 29 };
30 30
31 } // namespace safe_browsing 31 } // namespace safe_browsing
32 32
33 #endif // CHROME_BROWSER_SAFE_BROWSING_LOCAL_TWO_PHASE_TESTSERVER_H_ 33 #endif // CHROME_BROWSER_SAFE_BROWSING_LOCAL_TWO_PHASE_TESTSERVER_H_
34 34
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/local_safebrowsing_test_server.h ('k') | chrome/browser/safe_browsing/ping_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698