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

Side by Side Diff: chrome/browser/safe_browsing/local_safebrowsing_test_server.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_SAFE_BROWSING_LOCAL_SAFEBROWSING_TEST_SERVER_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_LOCAL_SAFEBROWSING_TEST_SERVER_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_LOCAL_SAFEBROWSING_TEST_SERVER_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_LOCAL_SAFEBROWSING_TEST_SERVER_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 safebrowsing test server on the same machine in which the 15 // Runs a Python-based safebrowsing test server on the same machine in which the
16 // LocalSafeBrowsingTestServer runs. 16 // LocalSafeBrowsingTestServer runs.
17 class LocalSafeBrowsingTestServer : public net::LocalTestServer { 17 class LocalSafeBrowsingTestServer : public net::LocalTestServer {
18 public: 18 public:
19 // Initialize a safebrowsing server using the given |data_file|. 19 // Initialize a safebrowsing server using the given |data_file|.
20 explicit LocalSafeBrowsingTestServer(const base::FilePath& data_file); 20 explicit LocalSafeBrowsingTestServer(const base::FilePath& data_file);
(...skipping 12 matching lines...) Expand all
33 33
34 private: 34 private:
35 base::FilePath data_file_; 35 base::FilePath data_file_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(LocalSafeBrowsingTestServer); 37 DISALLOW_COPY_AND_ASSIGN(LocalSafeBrowsingTestServer);
38 }; 38 };
39 39
40 } // namespace safe_browsing 40 } // namespace safe_browsing
41 41
42 #endif // CHROME_BROWSER_SAFE_BROWSING_LOCAL_SAFEBROWSING_TEST_SERVER_H_ 42 #endif // CHROME_BROWSER_SAFE_BROWSING_LOCAL_SAFEBROWSING_TEST_SERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698