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

Side by Side Diff: chrome/browser/net/nss_context.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « chrome/browser/net/net_error_tab_helper.h ('k') | chrome/browser/net/nss_context_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef CHROME_BROWSER_NET_NSS_CONTEXT_H_ 5 #ifndef CHROME_BROWSER_NET_NSS_CONTEXT_H_
6 #define CHROME_BROWSER_NET_NSS_CONTEXT_H_ 6 #define CHROME_BROWSER_NET_NSS_CONTEXT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "build/build_config.h"
12 #include "crypto/scoped_nss_types.h" 13 #include "crypto/scoped_nss_types.h"
13 14
14 class Profile; 15 class Profile;
15 16
16 namespace net { 17 namespace net {
17 class NSSCertDatabase; 18 class NSSCertDatabase;
18 } 19 }
19 20
20 namespace content { 21 namespace content {
21 class ResourceContext; 22 class ResourceContext;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Gets a pointer to the NSSCertDatabase for the user associated with |context|. 58 // Gets a pointer to the NSSCertDatabase for the user associated with |context|.
58 // It's a wrapper around |GetNSSCertDatabaseForResourceContext| which makes 59 // It's a wrapper around |GetNSSCertDatabaseForResourceContext| which makes
59 // sure it's called on IO thread (with |profile|'s resource context). The 60 // sure it's called on IO thread (with |profile|'s resource context). The
60 // callback will be called on the originating message loop. 61 // callback will be called on the originating message loop.
61 // It's accessing profile, so it should be called on the UI thread. 62 // It's accessing profile, so it should be called on the UI thread.
62 void GetNSSCertDatabaseForProfile( 63 void GetNSSCertDatabaseForProfile(
63 Profile* profile, 64 Profile* profile,
64 const base::Callback<void(net::NSSCertDatabase*)>& callback); 65 const base::Callback<void(net::NSSCertDatabase*)>& callback);
65 66
66 #endif // CHROME_BROWSER_NET_NSS_CONTEXT_H_ 67 #endif // CHROME_BROWSER_NET_NSS_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/net_error_tab_helper.h ('k') | chrome/browser/net/nss_context_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698