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_PUBLIC_TEST_TEST_FILE_ERROR_INJECTOR_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_TEST_FILE_ERROR_INJECTOR_H_ |
6 #define CONTENT_PUBLIC_TEST_TEST_FILE_ERROR_INJECTOR_H_ | 6 #define CONTENT_PUBLIC_TEST_TEST_FILE_ERROR_INJECTOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
14 #include "content/public/browser/download_interrupt_reasons.h" | 13 #include "content/public/browser/download_interrupt_reasons.h" |
15 | 14 |
16 class GURL; | 15 class GURL; |
17 | 16 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 138 |
140 // The factory we created. May outlive this class. | 139 // The factory we created. May outlive this class. |
141 DownloadFileWithErrorsFactory* created_factory_; | 140 DownloadFileWithErrorsFactory* created_factory_; |
142 | 141 |
143 DISALLOW_COPY_AND_ASSIGN(TestFileErrorInjector); | 142 DISALLOW_COPY_AND_ASSIGN(TestFileErrorInjector); |
144 }; | 143 }; |
145 | 144 |
146 } // namespace content | 145 } // namespace content |
147 | 146 |
148 #endif // CONTENT_PUBLIC_TEST_TEST_FILE_ERROR_INJECTOR_H_ | 147 #endif // CONTENT_PUBLIC_TEST_TEST_FILE_ERROR_INJECTOR_H_ |
OLD | NEW |