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

Unified Diff: chrome/browser/chromeos/extensions/external_pref_cache_loader.h

Issue 79363004: Merge 235370 "Destroy ExternalCacheDispatcher when last External..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1700/src/
Patch Set: Created 7 years, 1 month 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 | « no previous file | chrome/browser/chromeos/extensions/external_pref_cache_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/external_pref_cache_loader.h
===================================================================
--- chrome/browser/chromeos/extensions/external_pref_cache_loader.h (revision 236318)
+++ chrome/browser/chromeos/extensions/external_pref_cache_loader.h (working copy)
@@ -5,12 +5,15 @@
#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_EXTERNAL_PREF_CACHE_LOADER_H_
#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_EXTERNAL_PREF_CACHE_LOADER_H_
+#include "base/memory/ref_counted.h"
#include "chrome/browser/extensions/external_pref_loader.h"
class Profile;
namespace chromeos {
+class ExternalCacheDispatcher;
+
// A specialization of the ExternalPrefLoader that caches crx files for external
// extensions with update URL in a common place for all users on the machine.
class ExternalPrefCacheLoader : public extensions::ExternalPrefLoader {
@@ -32,6 +35,7 @@
virtual void LoadFinished() OVERRIDE;
Profile* profile_;
+ scoped_refptr<ExternalCacheDispatcher> cache_dispatcher_;
DISALLOW_COPY_AND_ASSIGN(ExternalPrefCacheLoader);
};
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/external_pref_cache_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698