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

Side by Side Diff: chrome/browser/chromeos/file_manager/open_util.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 (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 #include "chrome/browser/chromeos/extensions/file_manager/open_util.h" 5 #include "chrome/browser/chromeos/file_manager/open_util.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/chromeos/extensions/file_manager/app_id.h" 11 #include "chrome/browser/chromeos/file_manager/app_id.h"
12 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_handlers. h" 12 #include "chrome/browser/chromeos/file_manager/file_browser_handlers.h"
13 #include "chrome/browser/chromeos/extensions/file_manager/file_tasks.h" 13 #include "chrome/browser/chromeos/file_manager/file_tasks.h"
14 #include "chrome/browser/chromeos/extensions/file_manager/fileapi_util.h" 14 #include "chrome/browser/chromeos/file_manager/fileapi_util.h"
15 #include "chrome/browser/chromeos/extensions/file_manager/mime_util.h" 15 #include "chrome/browser/chromeos/file_manager/mime_util.h"
16 #include "chrome/browser/chromeos/extensions/file_manager/url_util.h" 16 #include "chrome/browser/chromeos/file_manager/url_util.h"
17 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h" 17 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h"
18 #include "chrome/browser/extensions/extension_service.h" 18 #include "chrome/browser/extensions/extension_service.h"
19 #include "chrome/browser/extensions/extension_system.h" 19 #include "chrome/browser/extensions/extension_system.h"
20 #include "chrome/browser/google_apis/task_util.h" 20 #include "chrome/browser/google_apis/task_util.h"
21 #include "chrome/browser/profiles/profile.h" 21 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/profiles/profile_manager.h" 22 #include "chrome/browser/profiles/profile_manager.h"
23 #include "chrome/browser/ui/browser.h" 23 #include "chrome/browser/ui/browser.h"
24 #include "chrome/browser/ui/browser_finder.h" 24 #include "chrome/browser/ui/browser_finder.h"
25 #include "chrome/browser/ui/browser_tabstrip.h" 25 #include "chrome/browser/ui/browser_tabstrip.h"
26 #include "chrome/browser/ui/browser_window.h" 26 #include "chrome/browser/ui/browser_window.h"
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 base::Bind(&ContinueOpenItem, profile, file_path)); 328 base::Bind(&ContinueOpenItem, profile, file_path));
329 } 329 }
330 330
331 void ShowItemInFolder(const base::FilePath& file_path) { 331 void ShowItemInFolder(const base::FilePath& file_path) {
332 // This action changes the selection so we do not reuse existing tabs. 332 // This action changes the selection so we do not reuse existing tabs.
333 OpenFileManagerWithInternalActionId(file_path, "select"); 333 OpenFileManagerWithInternalActionId(file_path, "select");
334 } 334 }
335 335
336 } // namespace util 336 } // namespace util
337 } // namespace file_manager 337 } // namespace file_manager
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/open_util.h ('k') | chrome/browser/chromeos/file_manager/open_with_browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698