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

Unified Diff: chrome/browser/extensions/extensions_quota_service.h

Issue 16915006: Convert most of extensions and some other random stuff to using the base namespace for Values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
Index: chrome/browser/extensions/extensions_quota_service.h
diff --git a/chrome/browser/extensions/extensions_quota_service.h b/chrome/browser/extensions/extensions_quota_service.h
index e29300e0027aeee17c7a60e7cb69bba736dbac10..ea12584829fbe30f5d6117f593f7fa4ff76bad71 100644
--- a/chrome/browser/extensions/extensions_quota_service.h
+++ b/chrome/browser/extensions/extensions_quota_service.h
@@ -56,7 +56,7 @@ class ExtensionsQuotaService : public base::NonThreadSafe {
// or empty-string if the request is fine and can proceed.
std::string Assess(const std::string& extension_id,
ExtensionFunction* function,
- const ListValue* args,
+ const base::ListValue* args,
const base::TimeTicks& event_time);
private:
@@ -152,7 +152,7 @@ class QuotaLimitHeuristic {
// occurs while parsing |args|, the function aborts - buckets may be non-
// empty). The expectation is that invalid args and associated errors are
// handled by the ExtensionFunction itself so we don't concern ourselves.
- virtual void GetBucketsForArgs(const ListValue* args,
+ virtual void GetBucketsForArgs(const base::ListValue* args,
BucketList* buckets) = 0;
};
@@ -162,7 +162,7 @@ class QuotaLimitHeuristic {
public:
SingletonBucketMapper() {}
virtual ~SingletonBucketMapper() {}
- virtual void GetBucketsForArgs(const ListValue* args,
+ virtual void GetBucketsForArgs(const base::ListValue* args,
BucketList* buckets) OVERRIDE;
private:
@@ -180,7 +180,8 @@ class QuotaLimitHeuristic {
// implementation of a derived class) to perform an operation with |args|,
// based on the history of similar operations with similar arguments (which
// is retrieved using the BucketMapper).
- bool ApplyToArgs(const ListValue* args, const base::TimeTicks& event_time);
+ bool ApplyToArgs(const base::ListValue* args,
+ const base::TimeTicks& event_time);
// Returns an error formatted according to this heuristic.
std::string GetError() const;

Powered by Google App Engine
This is Rietveld 408576698