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

Side by Side Diff: chrome/browser/dom_ui/options/certificate_manager_handler.cc

Issue 6245006: Update references part 3: remaining files in chrome/...... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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) 2010 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/dom_ui/options/certificate_manager_handler.h" 5 #include "chrome/browser/dom_ui/options/certificate_manager_handler.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/l10n_util_collator.h" 8 #include "app/l10n_util_collator.h"
9 #include "base/file_util.h" // for FileAccessProvider 9 #include "base/file_util.h" // for FileAccessProvider
10 #include "base/safe_strerror_posix.h" 10 #include "base/safe_strerror_posix.h"
11 #include "base/scoped_vector.h" 11 #include "base/scoped_vector.h"
12 #include "base/string_number_conversions.h" 12 #include "base/string_number_conversions.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/browser_thread.h" // for FileAccessProvider 15 #include "chrome/browser/browser_thread.h" // for FileAccessProvider
16 #include "chrome/browser/certificate_manager_model.h" 16 #include "chrome/browser/certificate_manager_model.h"
17 #include "chrome/browser/certificate_viewer.h" 17 #include "chrome/browser/certificate_viewer.h"
18 #include "chrome/browser/gtk/certificate_dialogs.h"
19 #include "chrome/browser/tab_contents/tab_contents.h" 18 #include "chrome/browser/tab_contents/tab_contents.h"
20 #include "chrome/browser/tab_contents/tab_contents_view.h" 19 #include "chrome/browser/tab_contents/tab_contents_view.h"
21 #include "chrome/browser/ui/crypto_module_password_dialog.h" 20 #include "chrome/browser/ui/crypto_module_password_dialog.h"
21 #include "chrome/browser/ui/gtk/certificate_dialogs.h"
22 #include "grit/generated_resources.h" 22 #include "grit/generated_resources.h"
23 #include "net/base/crypto_module.h" 23 #include "net/base/crypto_module.h"
24 #include "net/base/x509_certificate.h" 24 #include "net/base/x509_certificate.h"
25 25
26 namespace { 26 namespace {
27 27
28 static const char kKeyId[] = "id"; 28 static const char kKeyId[] = "id";
29 static const char kSubNodesId[] = "subnodes"; 29 static const char kSubNodesId[] = "subnodes";
30 static const char kNameId[] = "name"; 30 static const char kNameId[] = "name";
31 static const char kReadOnlyId[] = "readonly"; 31 static const char kReadOnlyId[] = "readonly";
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 StringValue error_value(error); 929 StringValue error_value(error);
930 dom_ui_->CallJavascriptFunction(L"CertificateImportErrorOverlay.show", 930 dom_ui_->CallJavascriptFunction(L"CertificateImportErrorOverlay.show",
931 title_value, 931 title_value,
932 error_value, 932 error_value,
933 cert_error_list); 933 cert_error_list);
934 } 934 }
935 935
936 gfx::NativeWindow CertificateManagerHandler::GetParentWindow() const { 936 gfx::NativeWindow CertificateManagerHandler::GetParentWindow() const {
937 return dom_ui_->tab_contents()->view()->GetTopLevelNativeWindow(); 937 return dom_ui_->tab_contents()->view()->GetTopLevelNativeWindow();
938 } 938 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/ntp_resource_cache.cc ('k') | chrome/browser/dom_ui/options/personal_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698