OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "chrome/browser/chromeos/gdata/gdata_operation_registry.h" | 12 #include "chrome/browser/chromeos/gdata/operation_registry.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 #include "ui/base/dialogs/select_file_dialog.h" | 14 #include "ui/base/dialogs/select_file_dialog.h" |
15 | 15 |
16 class Browser; | 16 class Browser; |
17 class Profile; | 17 class Profile; |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class ListValue; | 20 class ListValue; |
21 } | 21 } |
22 | 22 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 const FilePath& path, | 84 const FilePath& path, |
85 const std::string& internal_task_id); | 85 const std::string& internal_task_id); |
86 | 86 |
87 void InstallCRX(Browser* browser, const FilePath& path); | 87 void InstallCRX(Browser* browser, const FilePath& path); |
88 | 88 |
89 bool ShouldBeOpenedWithPdfPlugin(Profile* profile, const char* file_extension); | 89 bool ShouldBeOpenedWithPdfPlugin(Profile* profile, const char* file_extension); |
90 | 90 |
91 // Converts the vector of progress status to their JSON (Value) form. | 91 // Converts the vector of progress status to their JSON (Value) form. |
92 base::ListValue* ProgressStatusVectorToListValue( | 92 base::ListValue* ProgressStatusVectorToListValue( |
93 Profile* profile, const GURL& origin_url, | 93 Profile* profile, const GURL& origin_url, |
94 const std::vector<gdata::GDataOperationRegistry::ProgressStatus>& list); | 94 const std::vector<gdata::OperationRegistry::ProgressStatus>& list); |
95 | 95 |
96 } // namespace file_manager_util | 96 } // namespace file_manager_util |
97 | 97 |
98 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_ | 98 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_UTIL_H_ |
OLD | NEW |