OLD | NEW |
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 "content/shell/shell_login_dialog.h" | 5 #include "content/shell/browser/shell_login_dialog.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/mac/bundle_locations.h" | 10 #include "base/mac/bundle_locations.h" |
11 #import "base/mac/scoped_nsobject.h" | 11 #import "base/mac/scoped_nsobject.h" |
12 #include "base/strings/sys_string_conversions.h" | 12 #include "base/strings/sys_string_conversions.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #import "ui/base/cocoa/nib_loading.h" | 14 #import "ui/base/cocoa/nib_loading.h" |
15 | 15 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 [helper_ release]; | 113 [helper_ release]; |
114 helper_ = nil; | 114 helper_ = nil; |
115 } | 115 } |
116 | 116 |
117 void ShellLoginDialog::PlatformRequestCancelled() { | 117 void ShellLoginDialog::PlatformRequestCancelled() { |
118 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 118 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
119 [helper_ cancel]; | 119 [helper_ cancel]; |
120 } | 120 } |
121 | 121 |
122 } // namespace content | 122 } // namespace content |
OLD | NEW |