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

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

Issue 15520002: Moved DOMActionType information from extras into a real field (ActivityLog) (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/extensions/activity_log/activity_log.h
diff --git a/chrome/browser/extensions/activity_log/activity_log.h b/chrome/browser/extensions/activity_log/activity_log.h
index 58ed6f2866eea859db5c42bf57bf4dc2c1e94cab..db6960fb04d5f7fde2c0f3260c2fb9ac7121e2e3 100644
--- a/chrome/browser/extensions/activity_log/activity_log.h
+++ b/chrome/browser/extensions/activity_log/activity_log.h
@@ -100,13 +100,12 @@ class ActivityLog : public ProfileKeyedService,
// Log an interaction between an extension and a URL.
// This will create a DOMAction for storage in the database.
- // The technical message might be the list of content scripts that have been
- // injected, or the DOM API call; it's what's shown under "More".
void LogDOMAction(const Extension* extension,
const GURL& url, // target URL
const string16& url_title, // title of the URL
const std::string& api_call, // api call
const ListValue* args, // arguments
+ DOMAction::DOMActionType verb, // type of the call
const std::string& extra); // extra logging info
// Log a use of the WebRequest API to redirect, cancel, or modify page
@@ -149,16 +148,6 @@ class ActivityLog : public ProfileKeyedService,
const std::string& extra,
const APIAction::Type type);
- // We log content script injection and DOM API calls using the same underlying
- // mechanism, so they have the same internal logging structure.
- void LogDOMActionInternal(const Extension* extension,
- const GURL& url,
- const string16& url_title,
- const std::string& api_call,
- const ListValue* args,
- const std::string& extra,
- DOMAction::DOMActionType verb);
-
// TabHelper::ScriptExecutionObserver implementation.
// Fires when a ContentScript is executed.
virtual void OnScriptsExecuted(

Powered by Google App Engine
This is Rietveld 408576698