OLD | NEW |
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 CONTENT_BROWSER_TCMALLOC_INTERNALS_REQUEST_JOB_H_ | 5 #ifndef CONTENT_BROWSER_TCMALLOC_INTERNALS_REQUEST_JOB_H_ |
6 #define CONTENT_BROWSER_TCMALLOC_INTERNALS_REQUEST_JOB_H_ | 6 #define CONTENT_BROWSER_TCMALLOC_INTERNALS_REQUEST_JOB_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 }; | 48 }; |
49 | 49 |
50 class TcmallocInternalsRequestJob : public net::URLRequestSimpleJob { | 50 class TcmallocInternalsRequestJob : public net::URLRequestSimpleJob { |
51 public: | 51 public: |
52 explicit TcmallocInternalsRequestJob(net::URLRequest* request); | 52 explicit TcmallocInternalsRequestJob(net::URLRequest* request); |
53 | 53 |
54 virtual bool GetData(std::string* mime_type, | 54 virtual bool GetData(std::string* mime_type, |
55 std::string* charset, | 55 std::string* charset, |
56 std::string* data) const OVERRIDE; | 56 std::string* data) const OVERRIDE; |
57 | 57 |
| 58 protected: |
| 59 virtual ~TcmallocInternalsRequestJob() {} |
| 60 |
58 private: | 61 private: |
59 DISALLOW_IMPLICIT_CONSTRUCTORS(TcmallocInternalsRequestJob); | 62 DISALLOW_IMPLICIT_CONSTRUCTORS(TcmallocInternalsRequestJob); |
60 }; | 63 }; |
61 | 64 |
62 } // namespace content | 65 } // namespace content |
63 | 66 |
64 #endif // CONTENT_BROWSER_TCMALLOC_INTERNALS_REQUEST_JOB_H_ | 67 #endif // CONTENT_BROWSER_TCMALLOC_INTERNALS_REQUEST_JOB_H_ |
OLD | NEW |