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

Unified Diff: chrome/browser/extensions/activity_log/stream_noargs_ui_policy.h

Issue 21646004: Compressed activity log database storage (Closed) Base URL: http://git.chromium.org/chromium/src.git@refactor-cleanups
Patch Set: Delete a debugging log message Created 7 years, 4 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/activity_log/stream_noargs_ui_policy.h
diff --git a/chrome/browser/extensions/activity_log/stream_noargs_ui_policy.h b/chrome/browser/extensions/activity_log/stream_noargs_ui_policy.h
deleted file mode 100644
index addbacdda15a99b2b3e83f6074259450bd65731e..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/activity_log/stream_noargs_ui_policy.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_STREAM_NOARGS_UI_POLICY_H_
-#define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_STREAM_NOARGS_UI_POLICY_H_
-
-#include <string>
-
-#include "base/containers/hash_tables.h"
-#include "chrome/browser/extensions/activity_log/fullstream_ui_policy.h"
-
-namespace extensions {
-
-// A policy for logging the stream of actions, but without arguments.
-class StreamWithoutArgsUIPolicy : public FullStreamUIPolicy {
- public:
- explicit StreamWithoutArgsUIPolicy(Profile* profile);
- virtual ~StreamWithoutArgsUIPolicy();
-
- protected:
- // Clears the args field of the action (except for some DOM events and a
- // small whitelisted set of api_names). For WEB_REQUEST actions, keeps keys
- // but removes values from the "web_request" dictionary in other.
- virtual scoped_refptr<Action> ProcessArguments(
- scoped_refptr<Action> action) const OVERRIDE;
-
- private:
- base::hash_set<std::string> arg_whitelist_api_;
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_STREAM_NOARGS_UI_POLICY_H_

Powered by Google App Engine
This is Rietveld 408576698