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

Side by Side Diff: content/browser/download/download_file_impl.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
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_DOWNLOAD_FILE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_
6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_ 6 #define CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_
7 #pragma once
8 7
9 #include "content/browser/download/download_file.h" 8 #include "content/browser/download/download_file.h"
10 9
11 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
14 #include "base/time.h" 13 #include "base/time.h"
15 #include "base/timer.h" 14 #include "base/timer.h"
16 #include "content/browser/download/base_file.h" 15 #include "content/browser/download/base_file.h"
17 #include "content/browser/download/byte_stream.h" 16 #include "content/browser/download/byte_stream.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 102
104 base::WeakPtrFactory<DownloadFileImpl> weak_factory_; 103 base::WeakPtrFactory<DownloadFileImpl> weak_factory_;
105 104
106 // RAII handle to keep the system from sleeping while we're downloading. 105 // RAII handle to keep the system from sleeping while we're downloading.
107 scoped_ptr<content::PowerSaveBlocker> power_save_blocker_; 106 scoped_ptr<content::PowerSaveBlocker> power_save_blocker_;
108 107
109 DISALLOW_COPY_AND_ASSIGN(DownloadFileImpl); 108 DISALLOW_COPY_AND_ASSIGN(DownloadFileImpl);
110 }; 109 };
111 110
112 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_ 111 #endif // CONTENT_BROWSER_DOWNLOAD_DOWNLOAD_FILE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_file.h ('k') | content/browser/download/download_file_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698