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

Side by Side Diff: extensions/browser/content_verifier_delegate.h

Issue 2790823004: Retry reinstallation of corrupted policy extensions. (Closed)
Patch Set: address comments Created 3 years, 8 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 | « extensions/browser/content_verifier.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 EXTENSIONS_BROWSER_CONTENT_VERIFIER_DELEGATE_H_ 5 #ifndef EXTENSIONS_BROWSER_CONTENT_VERIFIER_DELEGATE_H_
6 #define EXTENSIONS_BROWSER_CONTENT_VERIFIER_DELEGATE_H_ 6 #define EXTENSIONS_BROWSER_CONTENT_VERIFIER_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // This should return the set of file paths for images used within the 71 // This should return the set of file paths for images used within the
72 // browser process. (These may get transcoded during the install process). 72 // browser process. (These may get transcoded during the install process).
73 virtual std::set<base::FilePath> GetBrowserImagePaths( 73 virtual std::set<base::FilePath> GetBrowserImagePaths(
74 const extensions::Extension* extension) = 0; 74 const extensions::Extension* extension) = 0;
75 75
76 // Called when the content verifier detects that a read of a file inside 76 // Called when the content verifier detects that a read of a file inside
77 // an extension did not match its expected hash. 77 // an extension did not match its expected hash.
78 virtual void VerifyFailed(const std::string& extension_id, 78 virtual void VerifyFailed(const std::string& extension_id,
79 ContentVerifyJob::FailureReason reason) = 0; 79 ContentVerifyJob::FailureReason reason) = 0;
80
81 // Called when ExtensionSystem is shutting down.
82 virtual void Shutdown() = 0;
80 }; 83 };
81 84
82 } // namespace extensions 85 } // namespace extensions
83 86
84 #endif // EXTENSIONS_BROWSER_CONTENT_VERIFIER_DELEGATE_H_ 87 #endif // EXTENSIONS_BROWSER_CONTENT_VERIFIER_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/browser/content_verifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698