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

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

Issue 8115020: add crypto module password dialog view and test. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: update and merge Created 9 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) 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 "base/logging.h" 5 #include "base/logging.h"
6 6
7 #include "chrome/browser/external_protocol/external_protocol_handler.h" 7 #include "chrome/browser/external_protocol/external_protocol_handler.h"
8 #include "chrome/browser/importer/importer_progress_dialog.h" 8 #include "chrome/browser/importer/importer_progress_dialog.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // TODO(beng): 42 // TODO(beng):
43 NOTIMPLEMENTED(); 43 NOTIMPLEMENTED();
44 } 44 }
45 #endif 45 #endif
46 46
47 void ShowAboutIPCDialog() { 47 void ShowAboutIPCDialog() {
48 // TODO(beng): 48 // TODO(beng):
49 NOTIMPLEMENTED(); 49 NOTIMPLEMENTED();
50 } 50 }
51 51
52 #if defined(USE_NSS)
53 crypto::CryptoModuleBlockingPasswordDelegate*
54 NewCryptoModuleBlockingDialogDelegate(
55 CryptoModulePasswordReason reason,
56 const std::string& server) {
57 // TODO(saintlou):
58 NOTIMPLEMENTED();
59 return NULL;
60 }
61
62 void ShowCryptoModulePasswordDialog(
63 const std::string& module_name,
64 bool retry,
65 CryptoModulePasswordReason reason,
66 const std::string& server,
67 const CryptoModulePasswordCallback& callback) {
68 // TODO(saintlou):
69 NOTIMPLEMENTED();
70 }
71 #endif
72
73 } // namespace browser 52 } // namespace browser
74 53
75 #if defined(OS_WIN) 54 #if defined(OS_WIN)
76 void ShowCertificateViewer(gfx::NativeWindow parent, 55 void ShowCertificateViewer(gfx::NativeWindow parent,
77 net::X509Certificate* cert) { 56 net::X509Certificate* cert) {
78 // No certificate viewer on Windows. 57 // No certificate viewer on Windows.
79 } 58 }
80 #endif // OS_WIN 59 #endif // OS_WIN
81 60
82 namespace importer { 61 namespace importer {
83 62
84 void ShowImportProgressDialog(gfx::NativeWindow parent_window, 63 void ShowImportProgressDialog(gfx::NativeWindow parent_window,
85 uint16 items, 64 uint16 items,
86 ImporterHost* importer_host, 65 ImporterHost* importer_host,
87 ImporterObserver* importer_observer, 66 ImporterObserver* importer_observer,
88 const SourceProfile& source_profile, 67 const SourceProfile& source_profile,
89 Profile* target_profile, 68 Profile* target_profile,
90 bool first_run) { 69 bool first_run) {
91 // TODO(beng); 70 // TODO(beng);
92 NOTIMPLEMENTED(); 71 NOTIMPLEMENTED();
93 } 72 }
94 73
95 } // namespace importer 74 } // namespace importer
96 75
97 // static 76 // static
98 void ExternalProtocolHandler::RunExternalProtocolDialog( 77 void ExternalProtocolHandler::RunExternalProtocolDialog(
99 const GURL& url, int render_process_host_id, int routing_id) { 78 const GURL& url, int render_process_host_id, int routing_id) {
100 } 79 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/crypto_module_password_dialog_view_unittest.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698