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

Side by Side Diff: chrome/browser/ui/certificate_dialogs.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 months 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/certificate_dialogs.h" 5 #include "chrome/browser/ui/certificate_dialogs.h"
6 6
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/file_util.h" 12 #include "base/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/task.h"
16 #include "chrome/common/net/x509_certificate_model.h" 15 #include "chrome/common/net/x509_certificate_model.h"
17 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
18 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
19 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
20 19
21 using content::BrowserThread; 20 using content::BrowserThread;
22 using content::WebContents; 21 using content::WebContents;
23 22
24 namespace { 23 namespace {
25 24
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 suggested_path, &file_type_info, 1, 172 suggested_path, &file_type_info, 1,
174 FILE_PATH_LITERAL("crt"), web_contents, 173 FILE_PATH_LITERAL("crt"), web_contents,
175 parent, params); 174 parent, params);
176 } 175 }
177 176
178 void ShowCertExportDialog(WebContents* web_contents, 177 void ShowCertExportDialog(WebContents* web_contents,
179 gfx::NativeWindow parent, 178 gfx::NativeWindow parent,
180 net::X509Certificate::OSCertHandle cert) { 179 net::X509Certificate::OSCertHandle cert) {
181 new Exporter(web_contents, parent, cert); 180 new Exporter(web_contents, parent, cert);
182 } 181 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698