OLD | NEW |
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_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 int render_process_id, | 102 int render_process_id, |
103 int render_view_id, | 103 int render_view_id, |
104 net::CookieOptions* options); | 104 net::CookieOptions* options); |
105 | 105 |
106 // Create and return a new quota permission context. | 106 // Create and return a new quota permission context. |
107 virtual QuotaPermissionContext* CreateQuotaPermissionContext(); | 107 virtual QuotaPermissionContext* CreateQuotaPermissionContext(); |
108 | 108 |
109 // Shows the given path using the OS file manager. | 109 // Shows the given path using the OS file manager. |
110 virtual void RevealFolderInOS(const FilePath& path); | 110 virtual void RevealFolderInOS(const FilePath& path); |
111 | 111 |
112 #if defined(OS_LINUX) | 112 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
113 // Can return an optional fd for crash handling, otherwise returns -1. | 113 // Can return an optional fd for crash handling, otherwise returns -1. |
114 virtual int GetCrashSignalFD(const std::string& process_type); | 114 virtual int GetCrashSignalFD(const std::string& process_type); |
115 #endif | 115 #endif |
116 }; | 116 }; |
117 | 117 |
118 } // namespace content | 118 } // namespace content |
119 | 119 |
120 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 120 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |