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

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

Issue 18154002: Use a direct include of time headers in content/, part 2. (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_TEST_MOCK_DOWNLOAD_ITEM_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_ITEM_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_ITEM_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_ITEM_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/time.h" 9 #include "base/time/time.h"
10 #include "content/public/browser/download_id.h" 10 #include "content/public/browser/download_id.h"
11 #include "content/public/browser/download_interrupt_reasons.h" 11 #include "content/public/browser/download_interrupt_reasons.h"
12 #include "content/public/browser/download_item.h" 12 #include "content/public/browser/download_item.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.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 16
17 namespace content { 17 namespace content {
18 18
19 class MockDownloadItem : public DownloadItem { 19 class MockDownloadItem : public DownloadItem {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 MOCK_METHOD1(SetOpenWhenComplete, void(bool)); 84 MOCK_METHOD1(SetOpenWhenComplete, void(bool));
85 MOCK_METHOD1(SetIsTemporary, void(bool)); 85 MOCK_METHOD1(SetIsTemporary, void(bool));
86 MOCK_METHOD1(SetOpened, void(bool)); 86 MOCK_METHOD1(SetOpened, void(bool));
87 MOCK_METHOD1(SetDisplayName, void(const base::FilePath&)); 87 MOCK_METHOD1(SetDisplayName, void(const base::FilePath&));
88 MOCK_CONST_METHOD1(DebugString, std::string(bool)); 88 MOCK_CONST_METHOD1(DebugString, std::string(bool));
89 }; 89 };
90 90
91 } // namespace content 91 } // namespace content
92 92
93 #endif // CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_ITEM_H_ 93 #endif // CONTENT_PUBLIC_TEST_MOCK_DOWNLOAD_ITEM_H_
OLDNEW
« no previous file with comments | « content/public/renderer/document_state.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698