| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_PLATFORM_UTIL_H_ | 5 #ifndef CHROME_BROWSER_PLATFORM_UTIL_H_ |
| 6 #define CHROME_BROWSER_PLATFORM_UTIL_H_ | 6 #define CHROME_BROWSER_PLATFORM_UTIL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 #include "gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 11 | 11 |
| 12 class FilePath; | 12 class FilePath; |
| 13 class GURL; | 13 class GURL; |
| 14 | 14 |
| 15 namespace platform_util { | 15 namespace platform_util { |
| 16 | 16 |
| 17 // Show the given file in a file manager. If possible, select the file. | 17 // Show the given file in a file manager. If possible, select the file. |
| 18 void ShowItemInFolder(const FilePath& full_path); | 18 void ShowItemInFolder(const FilePath& full_path); |
| 19 | 19 |
| 20 // Open the given file in the desktop's default manner. | 20 // Open the given file in the desktop's default manner. |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 const string16& message); | 56 const string16& message); |
| 57 | 57 |
| 58 // Return a human readable modifier for the version string. For a | 58 // Return a human readable modifier for the version string. For a |
| 59 // branded Chrome (not Chromium), this modifier is the channel (dev, | 59 // branded Chrome (not Chromium), this modifier is the channel (dev, |
| 60 // beta, but "" for stable). | 60 // beta, but "" for stable). |
| 61 std::string GetVersionStringModifier(); | 61 std::string GetVersionStringModifier(); |
| 62 | 62 |
| 63 } | 63 } |
| 64 | 64 |
| 65 #endif // CHROME_BROWSER_PLATFORM_UTIL_H_ | 65 #endif // CHROME_BROWSER_PLATFORM_UTIL_H_ |
| OLD | NEW |