cros: Remove default pinned apps trial.
[chromium-blink-merge.git] / chrome / browser / safe_browsing / local_two_phase_testserver.h
blobf12d6391b6394e91b5418adb7f7587d7fe9e1c46
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SAFE_BROWSING_LOCAL_TWO_PHASE_TESTSERVER_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_LOCAL_TWO_PHASE_TESTSERVER_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h"
11 #include "net/test/spawned_test_server/local_test_server.h"
13 // Runs a Python-based two phase upload test server on the same machine in which
14 // the LocalTwoPhaseTestServer runs.
15 class LocalTwoPhaseTestServer : public net::LocalTestServer {
16 public:
17 // Initialize a two phase protocol test server.
18 LocalTwoPhaseTestServer();
20 virtual ~LocalTwoPhaseTestServer();
22 // Returns the path to two_phase_testserver.py.
23 virtual bool GetTestServerPath(
24 base::FilePath* testserver_path) const OVERRIDE;
26 private:
27 DISALLOW_COPY_AND_ASSIGN(LocalTwoPhaseTestServer);
30 #endif // CHROME_BROWSER_SAFE_BROWSING_LOCAL_TWO_PHASE_TESTSERVER_H_