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

Side by Side Diff: content/browser/download/mock_download_file.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « content/browser/download/drag_download_util.h ('k') | content/browser/download/save_file.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_FILE_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_FILE_H_
6 #define CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_FILE_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_FILE_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 #include <map> 9 #include <map>
11 10
12 #include "base/file_path.h" 11 #include "base/file_path.h"
13 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
14 #include "content/browser/download/download_file.h" 13 #include "content/browser/download/download_file.h"
15 #include "content/public/browser/download_id.h" 14 #include "content/public/browser/download_id.h"
16 #include "content/public/browser/download_manager.h" 15 #include "content/public/browser/download_manager.h"
17 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 23 matching lines...) Expand all
41 MOCK_METHOD1(GetHash, bool(std::string* hash)); 40 MOCK_METHOD1(GetHash, bool(std::string* hash));
42 MOCK_METHOD0(GetHashState, std::string()); 41 MOCK_METHOD0(GetHashState, std::string());
43 MOCK_METHOD0(CancelDownloadRequest, void()); 42 MOCK_METHOD0(CancelDownloadRequest, void());
44 MOCK_CONST_METHOD0(Id, int()); 43 MOCK_CONST_METHOD0(Id, int());
45 MOCK_METHOD0(GetDownloadManager, content::DownloadManager*()); 44 MOCK_METHOD0(GetDownloadManager, content::DownloadManager*());
46 MOCK_CONST_METHOD0(GlobalId, const content::DownloadId&()); 45 MOCK_CONST_METHOD0(GlobalId, const content::DownloadId&());
47 MOCK_CONST_METHOD0(DebugString, std::string()); 46 MOCK_CONST_METHOD0(DebugString, std::string());
48 }; 47 };
49 48
50 #endif // CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_FILE_H_ 49 #endif // CONTENT_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_FILE_H_
OLDNEW
« no previous file with comments | « content/browser/download/drag_download_util.h ('k') | content/browser/download/save_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698