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

Side by Side Diff: chrome/browser/ui/webui/settings/certificates_handler.cc

Issue 2289543004: Remove more unused grit includes in chrome/ (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/webui/settings/certificates_handler.h" 5 #include "chrome/browser/ui/webui/settings/certificates_handler.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 15 matching lines...) Expand all
26 #include "base/values.h" 26 #include "base/values.h"
27 #include "build/build_config.h" 27 #include "build/build_config.h"
28 #include "chrome/browser/browser_process.h" 28 #include "chrome/browser/browser_process.h"
29 #include "chrome/browser/certificate_viewer.h" 29 #include "chrome/browser/certificate_viewer.h"
30 #include "chrome/browser/profiles/profile.h" 30 #include "chrome/browser/profiles/profile.h"
31 #include "chrome/browser/ui/certificate_dialogs.h" 31 #include "chrome/browser/ui/certificate_dialogs.h"
32 #include "chrome/browser/ui/chrome_select_file_policy.h" 32 #include "chrome/browser/ui/chrome_select_file_policy.h"
33 #include "chrome/browser/ui/crypto_module_password_dialog_nss.h" 33 #include "chrome/browser/ui/crypto_module_password_dialog_nss.h"
34 #include "chrome/browser/ui/webui/certificate_viewer_webui.h" 34 #include "chrome/browser/ui/webui/certificate_viewer_webui.h"
35 #include "chrome/grit/generated_resources.h" 35 #include "chrome/grit/generated_resources.h"
36 #include "components/strings/grit/components_strings.h"
37 #include "content/public/browser/browser_thread.h" 36 #include "content/public/browser/browser_thread.h"
38 #include "content/public/browser/web_contents.h" 37 #include "content/public/browser/web_contents.h"
39 #include "net/base/crypto_module.h" 38 #include "net/base/crypto_module.h"
40 #include "net/base/net_errors.h" 39 #include "net/base/net_errors.h"
41 #include "net/cert/x509_certificate.h" 40 #include "net/cert/x509_certificate.h"
42 #include "net/der/input.h" 41 #include "net/der/input.h"
43 #include "net/der/parser.h" 42 #include "net/der/parser.h"
44 #include "ui/base/l10n/l10n_util.h" 43 #include "ui/base/l10n/l10n_util.h"
45 44
46 #if defined(OS_CHROMEOS) 45 #if defined(OS_CHROMEOS)
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1141 error_info->Set(kCertificateErrors, 1140 error_info->Set(kCertificateErrors,
1142 base::WrapUnique(cert_error_list.release())); 1141 base::WrapUnique(cert_error_list.release()));
1143 RejectCallback(*error_info); 1142 RejectCallback(*error_info);
1144 } 1143 }
1145 1144
1146 gfx::NativeWindow CertificatesHandler::GetParentWindow() const { 1145 gfx::NativeWindow CertificatesHandler::GetParentWindow() const {
1147 return web_ui()->GetWebContents()->GetTopLevelNativeWindow(); 1146 return web_ui()->GetWebContents()->GetTopLevelNativeWindow();
1148 } 1147 }
1149 1148
1150 } // namespace settings 1149 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698