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

Side by Side Diff: content/browser/safe_util_win.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/resolve_proxy_msg_helper.h ('k') | content/browser/site_instance_impl.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_COMMON_SAFE_UTIL_WIN_H_ 5 #ifndef CONTENT_COMMON_SAFE_UTIL_WIN_H_
6 #define CONTENT_COMMON_SAFE_UTIL_WIN_H_ 6 #define CONTENT_COMMON_SAFE_UTIL_WIN_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 #include <windows.h> 9 #include <windows.h>
11 10
12 class FilePath; 11 class FilePath;
13 12
14 namespace win_util { 13 namespace win_util {
15 14
16 // Open or run a downloaded file via the Windows shell, possibly showing first 15 // Open or run a downloaded file via the Windows shell, possibly showing first
17 // a consent dialog if the the file is deemed dangerous. This function is an 16 // a consent dialog if the the file is deemed dangerous. This function is an
(...skipping 29 matching lines...) Expand all
47 // It should not be considered fatal. 46 // It should not be considered fatal.
48 // 47 //
49 // |full_path| is the path to save the file to, and 48 // |full_path| is the path to save the file to, and
50 // |source_url| is the URL where the file was downloaded from. 49 // |source_url| is the URL where the file was downloaded from.
51 bool SetInternetZoneIdentifier(const FilePath& full_path, 50 bool SetInternetZoneIdentifier(const FilePath& full_path,
52 const std::wstring& source_url); 51 const std::wstring& source_url);
53 52
54 } // namespace win_util 53 } // namespace win_util
55 54
56 #endif // CONTENT_COMMON_SAFE_UTIL_WIN_H_ 55 #endif // CONTENT_COMMON_SAFE_UTIL_WIN_H_
OLDNEW
« no previous file with comments | « content/browser/resolve_proxy_msg_helper.h ('k') | content/browser/site_instance_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698