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

Side by Side Diff: chrome/browser/file_select_helper.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/file_select_helper.h" 5 #include "chrome/browser/file_select_helper.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/string_split.h" 9 #include "base/string_split.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "net/base/mime_util.h" 12 #include "net/base/mime_util.h"
13 #include "chrome/browser/platform_util.h" 13 #include "chrome/browser/platform_util.h"
14 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/renderer_host/render_view_host.h" 15 #include "chrome/browser/renderer_host/render_view_host.h"
16 #include "chrome/browser/renderer_host/render_widget_host_view.h" 16 #include "chrome/browser/renderer_host/render_widget_host_view.h"
17 #include "chrome/browser/shell_dialogs.h" 17 #include "chrome/browser/shell_dialogs.h"
18 #include "chrome/browser/tab_contents/tab_contents.h" 18 #include "chrome/browser/tab_contents/tab_contents.h"
19 #include "chrome/browser/tab_contents/tab_contents_view.h" 19 #include "chrome/browser/tab_contents/tab_contents_view.h"
20 #include "chrome/common/notification_details.h" 20 #include "chrome/common/notification_details.h"
21 #include "chrome/common/notification_source.h" 21 #include "chrome/common/notification_source.h"
22 #include "chrome/common/render_messages_params.h" 22 #include "chrome/common/render_messages_params.h"
23 #include "grit/generated_resources.h" 23 #include "grit/generated_resources.h"
24 24
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 NULL); 233 NULL);
234 } 234 }
235 235
236 void FileSelectHelper::Observe(NotificationType type, 236 void FileSelectHelper::Observe(NotificationType type,
237 const NotificationSource& source, 237 const NotificationSource& source,
238 const NotificationDetails& details) { 238 const NotificationDetails& details) {
239 DCHECK(type == NotificationType::RENDER_WIDGET_HOST_DESTROYED); 239 DCHECK(type == NotificationType::RENDER_WIDGET_HOST_DESTROYED);
240 DCHECK(Details<RenderViewHost>(details).ptr() == render_view_host_); 240 DCHECK(Details<RenderViewHost>(details).ptr() == render_view_host_);
241 render_view_host_ = NULL; 241 render_view_host_ = NULL;
242 } 242 }
OLDNEW
« no previous file with comments | « chrome/browser/file_path_watcher_win.cc ('k') | chrome/browser/file_system/file_system_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698