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

Side by Side Diff: chrome/browser/chromeos/net/nss_cert_database_factory.h

Issue 135193007: Use user specific NSSDatabase in CertLoader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: return of slow task runner Created 6 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_NET_NSS_CERT_DATABASE_FACTORY_H_
6 #define CHROME_BROWSER_CHROMEOS_NET_NSS_CERT_DATABASE_FACTORY_H_
7
8 #include <string>
9
10 #include "base/callback.h"
11
12 class Profile;
13
14 namespace net {
15 class NSSCertDatabase;
16 }
17
18 namespace chromeos {
pneubeck (no reviews) 2014/01/24 13:18:02 Is this really chromeos only? If not, could we mov
tbarzic 2014/01/25 00:26:27 hm, not really, it's more nss specific :) moving i
19
20 // Utility function that gets the NSSCertDatabase instance for a profile.
21 // It makes sure that the NSSCertDatabase is fetched from the right thread
22 // (IO thread) and run callback on the calling thread. The callback will always
pneubeck (no reviews) 2014/01/24 13:18:02 s/run callback/the callback is run/ ?
tbarzic 2014/01/25 00:26:27 Done.
23 // be called asynchronously.
24 void GetNSSCertDatabaseForProfile(
pneubeck (no reviews) 2014/01/24 13:18:02 It might be helpful to add a comment to GetNSSCert
tbarzic 2014/01/25 00:26:27 moved the method there
25 Profile* profile,
26 const base::Callback<void(net::NSSCertDatabase*)>& callback);
27
28 } // namespace chromeos
29
30 #endif // CHROME_BROWSER_CHROMEOS_NET_NSS_CERT_DATABASE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698