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

Side by Side Diff: extensions/browser/content_hash_fetcher.cc

Issue 280013003: More implementation details of extension content verification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged latest trunk Created 6 years, 7 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
« no previous file with comments | « extensions/browser/content_hash_fetcher.h ('k') | extensions/browser/content_hash_reader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "extensions/browser/content_hash_fetcher.h"
6
7 #include "extensions/browser/extension_registry.h"
8
9 namespace extensions {
10
11 ContentHashFetcher::ContentHashFetcher(content::BrowserContext* context,
12 ContentVerifierDelegate* delegate)
13 : context_(context), delegate_(delegate), observer_(this) {
14 }
15
16 ContentHashFetcher::~ContentHashFetcher() {
17 }
18
19 void ContentHashFetcher::Start() {
20 ExtensionRegistry* registry = ExtensionRegistry::Get(context_);
21 observer_.Add(registry);
22 }
23
24 void ContentHashFetcher::DoFetch(const Extension* extension) {
25 }
26
27 void ContentHashFetcher::OnExtensionLoaded(
28 content::BrowserContext* browser_context,
29 const Extension* extension) {
30 }
31
32 void ContentHashFetcher::OnExtensionUnloaded(
33 content::BrowserContext* browser_context,
34 const Extension* extension,
35 UnloadedExtensionInfo::Reason reason) {
36 }
37
38 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/content_hash_fetcher.h ('k') | extensions/browser/content_hash_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698