OLD | NEW |
(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 |
OLD | NEW |