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

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

Issue 15908002: Differential updates for components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Sync to LKGR revision 207804. Created 7 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CRL_SET_FETCHER_H_ 5 #ifndef CHROME_BROWSER_NET_CRL_SET_FETCHER_H_
6 #define CHROME_BROWSER_NET_CRL_SET_FETCHER_H_ 6 #define CHROME_BROWSER_NET_CRL_SET_FETCHER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 15 matching lines...) Expand all
26 public base::RefCountedThreadSafe<CRLSetFetcher> { 26 public base::RefCountedThreadSafe<CRLSetFetcher> {
27 public: 27 public:
28 CRLSetFetcher(); 28 CRLSetFetcher();
29 29
30 void StartInitialLoad(ComponentUpdateService* cus); 30 void StartInitialLoad(ComponentUpdateService* cus);
31 31
32 // ComponentInstaller interface 32 // ComponentInstaller interface
33 virtual void OnUpdateError(int error) OVERRIDE; 33 virtual void OnUpdateError(int error) OVERRIDE;
34 virtual bool Install(const base::DictionaryValue& manifest, 34 virtual bool Install(const base::DictionaryValue& manifest,
35 const base::FilePath& unpack_path) OVERRIDE; 35 const base::FilePath& unpack_path) OVERRIDE;
36 virtual bool GetInstalledFile(const std::string& file,
37 base::FilePath* installed_file) OVERRIDE;
36 38
37 private: 39 private:
38 friend class base::RefCountedThreadSafe<CRLSetFetcher>; 40 friend class base::RefCountedThreadSafe<CRLSetFetcher>;
39 41
40 virtual ~CRLSetFetcher(); 42 virtual ~CRLSetFetcher();
41 43
42 // GetCRLSetbase::FilePath gets the path of the CRL set file in the user data 44 // GetCRLSetbase::FilePath gets the path of the CRL set file in the user data
43 // dir. 45 // dir.
44 bool GetCRLSetFilePath(base::FilePath* path) const; 46 bool GetCRLSetFilePath(base::FilePath* path) const;
45 47
(...skipping 17 matching lines...) Expand all
63 ComponentUpdateService* cus_; 65 ComponentUpdateService* cus_;
64 66
65 // We keep a pointer to the current CRLSet for use on the FILE thread when 67 // We keep a pointer to the current CRLSet for use on the FILE thread when
66 // applying delta updates. 68 // applying delta updates.
67 scoped_refptr<net::CRLSet> crl_set_; 69 scoped_refptr<net::CRLSet> crl_set_;
68 70
69 DISALLOW_COPY_AND_ASSIGN(CRLSetFetcher); 71 DISALLOW_COPY_AND_ASSIGN(CRLSetFetcher);
70 }; 72 };
71 73
72 #endif // CHROME_BROWSER_NET_CRL_SET_FETCHER_H_ 74 #endif // CHROME_BROWSER_NET_CRL_SET_FETCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/widevine_cdm_component_installer.cc ('k') | chrome/browser/net/crl_set_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698