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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.cc

Issue 16010006: Move webkit/chromeos into webkit/browser/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/file_handler_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/file_browser_private_a pi.h" 5 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_a pi.h"
6 6
7 #include <sys/stat.h> 7 #include <sys/stat.h>
8 #include <sys/statvfs.h> 8 #include <sys/statvfs.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 #include <utime.h> 10 #include <utime.h>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 #include "googleurl/src/gurl.h" 73 #include "googleurl/src/gurl.h"
74 #include "grit/app_locale_settings.h" 74 #include "grit/app_locale_settings.h"
75 #include "grit/generated_resources.h" 75 #include "grit/generated_resources.h"
76 #include "grit/platform_locale_settings.h" 76 #include "grit/platform_locale_settings.h"
77 #include "net/base/escape.h" 77 #include "net/base/escape.h"
78 #include "net/base/mime_util.h" 78 #include "net/base/mime_util.h"
79 #include "net/base/network_change_notifier.h" 79 #include "net/base/network_change_notifier.h"
80 #include "ui/base/l10n/l10n_util.h" 80 #include "ui/base/l10n/l10n_util.h"
81 #include "ui/shell_dialogs/selected_file_info.h" 81 #include "ui/shell_dialogs/selected_file_info.h"
82 #include "ui/webui/web_ui_util.h" 82 #include "ui/webui/web_ui_util.h"
83 #include "webkit/browser/chromeos/fileapi/cros_mount_point_provider.h"
83 #include "webkit/browser/fileapi/file_system_context.h" 84 #include "webkit/browser/fileapi/file_system_context.h"
84 #include "webkit/browser/fileapi/file_system_file_util.h" 85 #include "webkit/browser/fileapi/file_system_file_util.h"
85 #include "webkit/browser/fileapi/file_system_operation_context.h" 86 #include "webkit/browser/fileapi/file_system_operation_context.h"
86 #include "webkit/browser/fileapi/file_system_url.h" 87 #include "webkit/browser/fileapi/file_system_url.h"
87 #include "webkit/chromeos/fileapi/cros_mount_point_provider.h"
88 #include "webkit/common/fileapi/file_system_types.h" 88 #include "webkit/common/fileapi/file_system_types.h"
89 #include "webkit/common/fileapi/file_system_util.h" 89 #include "webkit/common/fileapi/file_system_util.h"
90 90
91 using extensions::app_file_handler_util::FindFileHandlersForFiles; 91 using extensions::app_file_handler_util::FindFileHandlersForFiles;
92 using extensions::app_file_handler_util::PathAndMimeTypeSet; 92 using extensions::app_file_handler_util::PathAndMimeTypeSet;
93 using chromeos::disks::DiskMountManager; 93 using chromeos::disks::DiskMountManager;
94 using content::BrowserContext; 94 using content::BrowserContext;
95 using content::BrowserThread; 95 using content::BrowserThread;
96 using content::ChildProcessSecurityPolicy; 96 using content::ChildProcessSecurityPolicy;
97 using content::SiteInstance; 97 using content::SiteInstance;
(...skipping 3088 matching lines...) Expand 10 before | Expand all | Expand 10 after
3186 OpenNewWindowFunction::OpenNewWindowFunction() {} 3186 OpenNewWindowFunction::OpenNewWindowFunction() {}
3187 3187
3188 OpenNewWindowFunction::~OpenNewWindowFunction() {} 3188 OpenNewWindowFunction::~OpenNewWindowFunction() {}
3189 3189
3190 bool OpenNewWindowFunction::RunImpl() { 3190 bool OpenNewWindowFunction::RunImpl() {
3191 std::string url; 3191 std::string url;
3192 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url)); 3192 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &url));
3193 file_manager_util::OpenNewWindow(profile_, GURL(url)); 3193 file_manager_util::OpenNewWindow(profile_, GURL(url));
3194 return true; 3194 return true;
3195 } 3195 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/file_handler_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698