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

Unified Diff: chrome/browser/ui/webui/extensions/extension_activity_ui.h

Issue 15812004: Remove the Activity Log UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/ui/webui/extensions/extension_activity_ui.h
diff --git a/chrome/browser/ui/webui/extensions/extension_activity_ui.h b/chrome/browser/ui/webui/extensions/extension_activity_ui.h
deleted file mode 100644
index bf9f63def6435535e0669f335847d3990c57a607..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/extensions/extension_activity_ui.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2012 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_UI_WEBUI_EXTENSIONS_EXTENSION_ACTIVITY_UI_H_
-#define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ACTIVITY_UI_H_
-
-#include <string>
-#include <vector>
-#include "chrome/browser/extensions/activity_log/activity_actions.h"
-#include "chrome/browser/extensions/activity_log/activity_log.h"
-#include "content/public/browser/web_ui_controller.h"
-
-namespace extensions {
-class Extension;
-class Action;
-}
-
-class ExtensionActivityUI : public content::WebUIController,
- public extensions::ActivityLog::Observer {
- public:
- explicit ExtensionActivityUI(content::WebUI* web_ui);
- virtual ~ExtensionActivityUI();
-
- // Callback for "requestExtensionData".
- void HandleRequestExtensionData(const base::ListValue* args);
-
- // Callback for fetching and displaying prior extension history data.
- void FetchPreviousExtensionActivity(
- scoped_ptr<std::vector<scoped_refptr<extensions::Action> > > actions);
-
- // ActivityLog::Observer implementation.
- virtual void OnExtensionActivity(
- const extensions::Extension* extension,
- extensions::ActivityLog::Activity activity,
- const std::string& message) OVERRIDE;
-
- private:
- const extensions::Extension* extension_;
- Profile* profile_;
-
- DISALLOW_COPY_AND_ASSIGN(ExtensionActivityUI);
-};
-
-#endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ACTIVITY_UI_H_

Powered by Google App Engine
This is Rietveld 408576698