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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/content_hash_fetcher.h ('k') | extensions/browser/content_hash_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/content_hash_fetcher.cc
diff --git a/extensions/browser/content_hash_fetcher.cc b/extensions/browser/content_hash_fetcher.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b40d16cc4f6bed9cf8ebc4b9107d2021618c84b9
--- /dev/null
+++ b/extensions/browser/content_hash_fetcher.cc
@@ -0,0 +1,38 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "extensions/browser/content_hash_fetcher.h"
+
+#include "extensions/browser/extension_registry.h"
+
+namespace extensions {
+
+ContentHashFetcher::ContentHashFetcher(content::BrowserContext* context,
+ ContentVerifierDelegate* delegate)
+ : context_(context), delegate_(delegate), observer_(this) {
+}
+
+ContentHashFetcher::~ContentHashFetcher() {
+}
+
+void ContentHashFetcher::Start() {
+ ExtensionRegistry* registry = ExtensionRegistry::Get(context_);
+ observer_.Add(registry);
+}
+
+void ContentHashFetcher::DoFetch(const Extension* extension) {
+}
+
+void ContentHashFetcher::OnExtensionLoaded(
+ content::BrowserContext* browser_context,
+ const Extension* extension) {
+}
+
+void ContentHashFetcher::OnExtensionUnloaded(
+ content::BrowserContext* browser_context,
+ const Extension* extension,
+ UnloadedExtensionInfo::Reason reason) {
+}
+
+} // namespace extensions
« 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