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

Side by Side Diff: chrome/browser/ui/views/shell_dialogs_aura.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ui/shell_dialogs.h" 5 #include "chrome/browser/ui/shell_dialogs.h"
6 6
7 #include "chrome/browser/ui/views/file_manager_dialog.h" 7 #include "chrome/browser/ui/views/file_manager_dialog.h"
8 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
9 9
10 using content::BrowserThread;
11
10 // static 12 // static
11 SelectFileDialog* SelectFileDialog::Create(Listener* listener) { 13 SelectFileDialog* SelectFileDialog::Create(Listener* listener) {
12 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 14 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
13 #if defined(OS_WIN) 15 #if defined(OS_WIN)
14 return NULL; 16 return NULL;
15 #else 17 #else
16 return new FileManagerDialog(listener); 18 return new FileManagerDialog(listener);
17 #endif 19 #endif
18 } 20 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/select_file_dialog.cc ('k') | chrome/browser/ui/views/shell_dialogs_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698