Remove aura enum from DesktopMediaID to fix desktop mirroring audio (CrOS).
[chromium-blink-merge.git] / chrome / browser / safe_browsing / local_two_phase_testserver.h
blob1614521e9624fac31ae4da86d08363cf486d13ee
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 ~LocalTwoPhaseTestServer() override;
22 // Returns the path to two_phase_testserver.py.
23 bool GetTestServerPath(base::FilePath* testserver_path) const override;
25 private:
26 DISALLOW_COPY_AND_ASSIGN(LocalTwoPhaseTestServer);
29 #endif // CHROME_BROWSER_SAFE_BROWSING_LOCAL_TWO_PHASE_TESTSERVER_H_