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

Side by Side Diff: content/public/test/mock_download_manager.h

Issue 18868005: content: Migrate from googleurl/ includes to url/ ones. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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 CONTENT_PUBLIC_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_
6 #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ 6 #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "content/public/browser/download_manager.h" 10 #include "content/public/browser/download_manager.h"
11 #include "content/public/browser/download_save_info.h" 11 #include "content/public/browser/download_save_info.h"
12 #include "content/public/browser/download_url_parameters.h" 12 #include "content/public/browser/download_url_parameters.h"
13 #include "googleurl/src/gurl.h"
14 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "url/gurl.h"
16 16
17 class DownloadRequestHandle; 17 class DownloadRequestHandle;
18 18
19 namespace content { 19 namespace content {
20 20
21 // To avoid leaking download_request_handle.h to embedders. 21 // To avoid leaking download_request_handle.h to embedders.
22 void PrintTo(const DownloadRequestHandle& params, std::ostream* os); 22 void PrintTo(const DownloadRequestHandle& params, std::ostream* os);
23 23
24 class MockDownloadManager : public DownloadManager { 24 class MockDownloadManager : public DownloadManager {
25 public: 25 public:
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 MOCK_METHOD1(GetDownloadItem, DownloadItem*(int id)); 113 MOCK_METHOD1(GetDownloadItem, DownloadItem*(int id));
114 MOCK_METHOD1(GetDownload, DownloadItem*(int id)); 114 MOCK_METHOD1(GetDownload, DownloadItem*(int id));
115 MOCK_METHOD1(SavePageDownloadFinished, void(DownloadItem* download)); 115 MOCK_METHOD1(SavePageDownloadFinished, void(DownloadItem* download));
116 MOCK_METHOD1(GetActiveDownloadItem, DownloadItem*(int id)); 116 MOCK_METHOD1(GetActiveDownloadItem, DownloadItem*(int id));
117 MOCK_METHOD1(GetActiveDownload, DownloadItem*(int32 download_id)); 117 MOCK_METHOD1(GetActiveDownload, DownloadItem*(int32 download_id));
118 }; 118 };
119 119
120 } // namespace content 120 } // namespace content
121 121
122 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ 122 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_
OLDNEW
« no previous file with comments | « content/public/test/mock_download_item.h ('k') | content/public/test/render_view_fake_resources_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698