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

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

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 #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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698