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

Side by Side Diff: chrome/browser/ui/gtk/ssl_client_certificate_selector.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/ssl_client_certificate_selector.h" 5 #include "chrome/browser/ssl_client_certificate_selector.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 12 matching lines...) Expand all
23 #include "content/browser/tab_contents/tab_contents.h" 23 #include "content/browser/tab_contents/tab_contents.h"
24 #include "content/public/browser/browser_thread.h" 24 #include "content/public/browser/browser_thread.h"
25 #include "grit/generated_resources.h" 25 #include "grit/generated_resources.h"
26 #include "net/base/x509_certificate.h" 26 #include "net/base/x509_certificate.h"
27 #include "ui/base/gtk/gtk_hig_constants.h" 27 #include "ui/base/gtk/gtk_hig_constants.h"
28 #include "ui/base/gtk/gtk_signal.h" 28 #include "ui/base/gtk/gtk_signal.h"
29 #include "ui/base/gtk/owned_widget_gtk.h" 29 #include "ui/base/gtk/owned_widget_gtk.h"
30 #include "ui/base/l10n/l10n_util.h" 30 #include "ui/base/l10n/l10n_util.h"
31 #include "ui/gfx/native_widget_types.h" 31 #include "ui/gfx/native_widget_types.h"
32 32
33 using content::BrowserThread;
34
33 namespace { 35 namespace {
34 36
35 enum { 37 enum {
36 RESPONSE_SHOW_CERT_INFO = 1, 38 RESPONSE_SHOW_CERT_INFO = 1,
37 }; 39 };
38 40
39 /////////////////////////////////////////////////////////////////////////////// 41 ///////////////////////////////////////////////////////////////////////////////
40 // SSLClientCertificateSelector 42 // SSLClientCertificateSelector
41 43
42 class SSLClientCertificateSelector : public SSLClientAuthObserver, 44 class SSLClientCertificateSelector : public SSLClientAuthObserver,
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 TabContentsWrapper* wrapper, 403 TabContentsWrapper* wrapper,
402 net::SSLCertRequestInfo* cert_request_info, 404 net::SSLCertRequestInfo* cert_request_info,
403 SSLClientAuthHandler* delegate) { 405 SSLClientAuthHandler* delegate) {
404 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 406 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
405 (new SSLClientCertificateSelector(wrapper, 407 (new SSLClientCertificateSelector(wrapper,
406 cert_request_info, 408 cert_request_info,
407 delegate))->Show(); 409 delegate))->Show();
408 } 410 }
409 411
410 } // namespace browser 412 } // namespace browser
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/dialogs_kde.cc ('k') | chrome/browser/ui/intents/web_intent_picker_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698