OLD | NEW |
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 #include "chrome/browser/chromeos/extensions/file_manager/open_with_browser.h" | 5 #include "chrome/browser/chromeos/file_manager/open_with_browser.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/threading/sequenced_worker_pool.h" | 11 #include "base/threading/sequenced_worker_pool.h" |
12 #include "chrome/browser/chromeos/drive/drive.pb.h" | 12 #include "chrome/browser/chromeos/drive/drive.pb.h" |
13 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 13 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
14 #include "chrome/browser/chromeos/drive/file_system.h" | 14 #include "chrome/browser/chromeos/drive/file_system.h" |
15 #include "chrome/browser/chromeos/drive/file_system_util.h" | 15 #include "chrome/browser/chromeos/drive/file_system_util.h" |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 base::FilePath::FromUTF8Unsafe("dummy").AddExtension(file_extension); | 230 base::FilePath::FromUTF8Unsafe("dummy").AddExtension(file_extension); |
231 if (file_path.MatchesExtension(kPdfExtension)) | 231 if (file_path.MatchesExtension(kPdfExtension)) |
232 return IsPdfPluginEnabled(profile); | 232 return IsPdfPluginEnabled(profile); |
233 if (file_path.MatchesExtension(kSwfExtension)) | 233 if (file_path.MatchesExtension(kSwfExtension)) |
234 return IsFlashPluginEnabled(profile); | 234 return IsFlashPluginEnabled(profile); |
235 return false; | 235 return false; |
236 } | 236 } |
237 | 237 |
238 } // namespace util | 238 } // namespace util |
239 } // namespace file_manager | 239 } // namespace file_manager |
OLD | NEW |