Searched refs:TestFileErrorInjector (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/content/public/test/
H A Dtest_file_error_injector.h41 // scoped_refptr<TestFileErrorInjector> injector =
42 // TestFileErrorInjector::Create(download_manager);
51 class TestFileErrorInjector class in namespace:content
52 : public base::RefCountedThreadSafe<TestFileErrorInjector> {
75 static scoped_refptr<TestFileErrorInjector> Create(
110 friend class base::RefCountedThreadSafe<TestFileErrorInjector>;
114 explicit TestFileErrorInjector(DownloadManager* download_manager);
116 virtual ~TestFileErrorInjector();
143 DISALLOW_COPY_AND_ASSIGN(TestFileErrorInjector);
H A Dtest_file_error_injector.cc39 const TestFileErrorInjector::FileErrorInfo& error_info,
60 TestFileErrorInjector::FileOperationCode code,
70 TestFileErrorInjector::FileOperationCode code,
77 TestFileErrorInjector::FileErrorInfo error_info_;
80 std::map<TestFileErrorInjector::FileOperationCode, int> operation_counter_;
113 const TestFileErrorInjector::FileErrorInfo& error_info,
146 TestFileErrorInjector::FILE_OPERATION_INITIALIZE,
168 TestFileErrorInjector::FILE_OPERATION_WRITE,
180 TestFileErrorInjector::FILE_OPERATION_RENAME_UNIQUIFY,
207 TestFileErrorInjector
340 TestFileErrorInjector::TestFileErrorInjector( function in class:content::TestFileErrorInjector
[all...]
/external/chromium_org/chrome/browser/download/
H A Ddownload_browsertest.cc448 content::TestFileErrorInjector::FileErrorInfo error_info;
989 scoped_refptr<content::TestFileErrorInjector> injector,
997 << content::TestFileErrorInjector::DebugString(info.error_info.code)
1022 scoped_refptr<content::TestFileErrorInjector> injector(
1023 content::TestFileErrorInjector::Create(
1071 content::TestFileErrorInjector* error_injector,
1076 content::TestFileErrorInjector::FileErrorInfo error_info;
1078 error_info.code = content::TestFileErrorInjector::FILE_OPERATION_WRITE;
2488 content::TestFileErrorInjector::FILE_OPERATION_INITIALIZE,
2501 content::TestFileErrorInjector
[all...]
/external/chromium_org/content/browser/download/
H A Ddownload_browsertest.cc1351 scoped_refptr<TestFileErrorInjector> injector(
1352 TestFileErrorInjector::Create(DownloadManagerForShell(shell())));
1354 TestFileErrorInjector::FileErrorInfo err = {
1356 TestFileErrorInjector::FILE_OPERATION_INITIALIZE,
1402 scoped_refptr<TestFileErrorInjector> injector(
1403 TestFileErrorInjector::Create(DownloadManagerForShell(shell())));
1405 TestFileErrorInjector::FileErrorInfo err = {
1407 TestFileErrorInjector::FILE_OPERATION_RENAME_UNIQUIFY,
1454 scoped_refptr<TestFileErrorInjector> injector(
1455 TestFileErrorInjector
[all...]

Completed in 3821 milliseconds