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

Side by Side Diff: chrome/browser/chromeos/file_manager/open_with_browser.h

Issue 23945002: file_manager: Move non-binding code to c/b/chromeos/file_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This file provides utilities for opening files with the browser. 5 // This file provides utilities for opening files with the browser.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_OPEN_WITH_BROWSER_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_OPEN_WITH_BROWSER_H_
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_OPEN_WITH_BROWSER_H_ 8 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_OPEN_WITH_BROWSER_H_
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 11
12 class Browser; 12 class Browser;
13 class Profile; 13 class Profile;
14 14
15 namespace file_manager { 15 namespace file_manager {
16 namespace util { 16 namespace util {
17 17
18 // Opens the file specified by |file_path| with the browser for 18 // Opens the file specified by |file_path| with the browser for
(...skipping 10 matching lines...) Expand all
29 bool OpenFileWithBrowser(Profile* profile, const base::FilePath& file_path); 29 bool OpenFileWithBrowser(Profile* profile, const base::FilePath& file_path);
30 30
31 // Checks whether a pepper plugin for |file_extension| is enabled. 31 // Checks whether a pepper plugin for |file_extension| is enabled.
32 bool ShouldBeOpenedWithPlugin( 32 bool ShouldBeOpenedWithPlugin(
33 Profile* profile, 33 Profile* profile,
34 const base::FilePath::StringType& file_extension); 34 const base::FilePath::StringType& file_extension);
35 35
36 } // namespace util 36 } // namespace util
37 } // namespace file_manager 37 } // namespace file_manager
38 38
39 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_OPEN_WITH_BROWSER_H_ 39 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_OPEN_WITH_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/open_util.cc ('k') | chrome/browser/chromeos/file_manager/open_with_browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698