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

Side by Side Diff: chrome/browser/extensions/activity_log/stream_noargs_ui_policy.h

Issue 15573003: New architecture of the activity logging: Policies for summarization (and compression) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Adrienne's final comments. 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright $YEAR 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 #ifndef CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_STREAM_NOARGS_UI_POLICY_H_
6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_STREAM_NOARGS_UI_POLICY_H_
7
8 #include <string>
9 #include "base/hash_tables.h"
10 #include "chrome/browser/extensions/activity_log/api_actions.h"
11 #include "chrome/browser/extensions/activity_log/fullstream_ui_policy.h"
12
13 namespace extensions {
14
15 class StreamWithoutArgsUIPolicy : public FullStreamUIPolicy {
Matt Perry 2013/05/30 18:55:32 Add a class comment.
dbabic 2013/05/30 21:51:25 Done.
16 public:
17 explicit StreamWithoutArgsUIPolicy(Profile* profile,
18 content::BrowserThread::ID thread_id);
19 virtual ~StreamWithoutArgsUIPolicy();
20
21 protected:
22 virtual void ProcessArguments(ActionType action_type,
23 const std::string& name,
24 const base::ListValue* args,
25 std::stringstream& args_string)
26 const OVERRIDE;
27
28 virtual void ProcessWebRequestModifications(
29 base::DictionaryValue& details,
30 std::string& details_string) const OVERRIDE;
31 private:
32 base::hash_set<std::string> arg_whitelist_api_;
33 };
34
35 } // End of the extensions namespace
36
37 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_STREAM_NOARGS_UI_POLICY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698