| 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_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_MANAGER_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ | 6 #define CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "content/public/browser/download_manager.h" | 11 #include "content/public/browser/download_manager.h" |
| 12 #include "content/public/browser/download_save_info.h" | 12 #include "content/public/browser/download_save_info.h" |
| 13 #include "content/public/browser/download_url_parameters.h" | 13 #include "content/public/browser/download_url_parameters.h" |
| 14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
| 15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 MOCK_CONST_METHOD0(InProgressCount, int()); | 125 MOCK_CONST_METHOD0(InProgressCount, int()); |
| 126 MOCK_CONST_METHOD0(NonMaliciousInProgressCount, int()); | 126 MOCK_CONST_METHOD0(NonMaliciousInProgressCount, int()); |
| 127 MOCK_CONST_METHOD0(GetBrowserContext, BrowserContext*()); | 127 MOCK_CONST_METHOD0(GetBrowserContext, BrowserContext*()); |
| 128 MOCK_METHOD0(CheckForHistoryFilesRemoval, void()); | 128 MOCK_METHOD0(CheckForHistoryFilesRemoval, void()); |
| 129 MOCK_METHOD1(GetDownload, DownloadItem*(uint32 id)); | 129 MOCK_METHOD1(GetDownload, DownloadItem*(uint32 id)); |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 } // namespace content | 132 } // namespace content |
| 133 | 133 |
| 134 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ | 134 #endif // CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_MANAGER_H_ |
| OLD | NEW |