Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / platform_util_internal.h
blob0b93b7dcddacfe74e6ce07729351ad10cdba45e0
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_PLATFORM_UTIL_INTERNAL_H_
6 #define CHROME_BROWSER_PLATFORM_UTIL_INTERNAL_H_
8 #include "chrome/browser/platform_util.h"
10 namespace base {
11 class FilePath;
14 namespace platform_util {
15 namespace internal {
17 // Called by platform_util.cc on desktop platforms to invoke platform specific
18 // logic to open |path| using a suitable handler. |path| has been verified to be
19 // of type |type|.
20 // Always called on the blocking pool.
21 void PlatformOpenVerifiedItem(const base::FilePath& path, OpenItemType type);
23 // Prevent shell or external applications from being invoked during testing.
24 void DisableShellOperationsForTesting();
26 } // namespace internal
27 } // namespace platform_util
29 #endif // CHROME_BROWSER_PLATFORM_UTIL_INTERNAL_H_