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

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

Issue 2767893002: Remove ScopedVector from chrome/browser/. (Closed)
Patch Set: Address comments from zea@ Created 3 years, 9 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
11 #include <algorithm> 11 #include <algorithm>
12 #include <map> 12 #include <map>
13 #include <utility> 13 #include <utility>
14 14
15 #include "base/bind.h" 15 #include "base/bind.h"
16 #include "base/bind_helpers.h" 16 #include "base/bind_helpers.h"
17 #include "base/files/file_util.h" // for FileAccessProvider 17 #include "base/files/file_util.h" // for FileAccessProvider
18 #include "base/i18n/string_compare.h" 18 #include "base/i18n/string_compare.h"
19 #include "base/id_map.h" 19 #include "base/id_map.h"
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/memory/ptr_util.h" 21 #include "base/memory/ptr_util.h"
22 #include "base/memory/scoped_vector.h"
23 #include "base/posix/safe_strerror.h" 22 #include "base/posix/safe_strerror.h"
24 #include "base/strings/string_number_conversions.h" 23 #include "base/strings/string_number_conversions.h"
25 #include "base/strings/utf_string_conversions.h" 24 #include "base/strings/utf_string_conversions.h"
26 #include "base/values.h" 25 #include "base/values.h"
27 #include "build/build_config.h" 26 #include "build/build_config.h"
28 #include "chrome/browser/browser_process.h" 27 #include "chrome/browser/browser_process.h"
29 #include "chrome/browser/certificate_viewer.h" 28 #include "chrome/browser/certificate_viewer.h"
30 #include "chrome/browser/profiles/profile.h" 29 #include "chrome/browser/profiles/profile.h"
31 #include "chrome/browser/ui/certificate_dialogs.h" 30 #include "chrome/browser/ui/certificate_dialogs.h"
32 #include "chrome/browser/ui/chrome_select_file_policy.h" 31 #include "chrome/browser/ui/chrome_select_file_policy.h"
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1139 error_info->Set(kCertificateErrors, 1138 error_info->Set(kCertificateErrors,
1140 base::WrapUnique(cert_error_list.release())); 1139 base::WrapUnique(cert_error_list.release()));
1141 RejectCallback(*error_info); 1140 RejectCallback(*error_info);
1142 } 1141 }
1143 1142
1144 gfx::NativeWindow CertificatesHandler::GetParentWindow() const { 1143 gfx::NativeWindow CertificatesHandler::GetParentWindow() const {
1145 return web_ui()->GetWebContents()->GetTopLevelNativeWindow(); 1144 return web_ui()->GetWebContents()->GetTopLevelNativeWindow();
1146 } 1145 }
1147 1146
1148 } // namespace settings 1147 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/status_icons/status_tray_win.cc ('k') | content/browser/media/android/browser_media_player_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698