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

Side by Side Diff: content/public/browser/download_id.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_PUBLIC_BROWSER_DOWNLOAD_ID_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DOWNLOAD_ID_H_
6 #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_ID_H_ 6 #define CONTENT_PUBLIC_BROWSER_DOWNLOAD_ID_H_
7 #pragma once
8 7
9 #include <iosfwd> 8 #include <iosfwd>
10 #include <string> 9 #include <string>
11 10
12 #include "base/hash_tables.h" 11 #include "base/hash_tables.h"
13 #include "base/stringprintf.h" 12 #include "base/stringprintf.h"
14 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
15 14
16 namespace content { 15 namespace content {
17 16
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 return id.hash(); 93 return id.hash();
95 } 94 }
96 }; 95 };
97 #elif defined(COMPILER_MSVC) 96 #elif defined(COMPILER_MSVC)
98 inline size_t hash_value(const content::DownloadId& id) { 97 inline size_t hash_value(const content::DownloadId& id) {
99 return id.hash(); 98 return id.hash();
100 } 99 }
101 #endif // COMPILER 100 #endif // COMPILER
102 } 101 }
103 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_ID_H_ 102 #endif // CONTENT_PUBLIC_BROWSER_DOWNLOAD_ID_H_
OLDNEW
« no previous file with comments | « content/public/browser/download_danger_type.h ('k') | content/public/browser/download_interrupt_reasons.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698