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

Side by Side Diff: chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc

Issue 61643007: Update keygen to use correct NSS slot on ChromeOS multiprofile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to 238776 Created 7 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) 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/ui/crypto_module_password_dialog.h" 5 #include "chrome/browser/ui/crypto_module_password_dialog.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/ui/gtk/gtk_util.h" 11 #include "chrome/browser/ui/gtk/gtk_util.h"
12 #include "crypto/crypto_module_blocking_password_delegate.h"
13 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
14 #include "ui/base/gtk/gtk_hig_constants.h" 13 #include "ui/base/gtk/gtk_hig_constants.h"
15 #include "ui/base/gtk/gtk_signal.h" 14 #include "ui/base/gtk/gtk_signal.h"
16 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
17 #include "url/gurl.h" 16 #include "url/gurl.h"
18 17
19 namespace { 18 namespace {
20 19
21 // TODO(mattm): change into a constrained dialog. 20 // TODO(mattm): change into a constrained dialog.
22 class CryptoModulePasswordDialog { 21 class CryptoModulePasswordDialog {
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 bool retry, 158 bool retry,
160 CryptoModulePasswordReason reason, 159 CryptoModulePasswordReason reason,
161 const std::string& server, 160 const std::string& server,
162 gfx::NativeWindow parent, 161 gfx::NativeWindow parent,
163 const CryptoModulePasswordCallback& callback) { 162 const CryptoModulePasswordCallback& callback) {
164 (new CryptoModulePasswordDialog( 163 (new CryptoModulePasswordDialog(
165 slot_name, retry, reason, server, parent, callback))->Show(); 164 slot_name, retry, reason, server, parent, callback))->Show();
166 } 165 }
167 166
168 } // namespace chrome 167 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698