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

Side by Side Diff: chrome/browser/extensions/activity_actions.h

Issue 11421192: Save extension activity log to a file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Another small fix Created 8 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // User 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_ACTIONS_H_
6 #define CHROME_BROWSER_EXTENSIONS_ACTIVITY_ACTIONS_H_
7
8 #include <string>
9 #include "base/memory/ref_counted_memory.h"
10 #include "base/values.h"
11
12 namespace extensions {
13
14 // This is the interface for extension actions that are to be recorded in
15 // the activity log.
16 class Action {
17 public:
18 // Print an action with il8n substitutions for display.
19 virtual std::string PrettyPrintFori18n() = 0;
20
21 // Print an action as a regular string for debugging purposes.
22 virtual std::string PrettyPrintForDebug() = 0;
23
24 protected:
25 Action() {}
26 virtual ~Action() {}
27
28 DISALLOW_COPY_AND_ASSIGN(Action);
29 };
30
31 } // namespace extensions
32
33 #endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_ACTIONS_H_
34
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/activity_database.h » ('j') | chrome/browser/extensions/activity_database.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698