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

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

Issue 11886084: Revert 177235 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/extensions/activity_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/activity_actions.h
===================================================================
--- chrome/browser/extensions/activity_actions.h (revision 177252)
+++ chrome/browser/extensions/activity_actions.h (working copy)
@@ -1,43 +0,0 @@
-// Copyright (c) 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_ACTIONS_H_
-#define CHROME_BROWSER_EXTENSIONS_ACTIVITY_ACTIONS_H_
-
-#include <string>
-#include "base/memory/ref_counted_memory.h"
-#include "base/values.h"
-#include "chrome/browser/history/url_database.h"
-#include "sql/connection.h"
-#include "sql/transaction.h"
-
-namespace extensions {
-
-// This is the interface for extension actions that are to be recorded in
-// the activity log.
-class Action : public base::RefCountedThreadSafe<Action> {
- public:
- // Record the action in the database.
- virtual void Record(sql::Connection* db) = 0;
-
- // Print an action with il8n substitutions for display.
- virtual std::string PrettyPrintFori18n() = 0;
-
- // Print an action as a regular string for debugging purposes.
- virtual std::string PrettyPrintForDebug() = 0;
-
- protected:
- Action() {}
- virtual ~Action() {}
-
- private:
- friend class base::RefCountedThreadSafe<Action>;
-
- DISALLOW_COPY_AND_ASSIGN(Action);
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_ACTIVITY_ACTIONS_H_
-
« no previous file with comments | « no previous file | chrome/browser/extensions/activity_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698