| Index: chrome/browser/extensions/activity_log/activity_actions.h
|
| diff --git a/chrome/browser/extensions/activity_log/activity_actions.h b/chrome/browser/extensions/activity_log/activity_actions.h
|
| index 6782b8314d5738b73a7576859e82e712d6981c01..8e3e31ca36a7c90c6c64fdf58df37fc69893c811 100644
|
| --- a/chrome/browser/extensions/activity_log/activity_actions.h
|
| +++ b/chrome/browser/extensions/activity_log/activity_actions.h
|
| @@ -98,12 +98,20 @@ class Action : public base::RefCountedThreadSafe<Action> {
|
| void set_other(scoped_ptr<DictionaryValue> other);
|
| DictionaryValue* mutable_other();
|
|
|
| + // Helper methods for serializing and deserializing URLs into strings. If
|
| + // the URL is marked as incognito, then the string is prefixed with
|
| + // kIncognitoUrl ("<incognito>").
|
| + std::string SerializePageUrl() const;
|
| + void ParsePageUrl(const std::string& url);
|
| + std::string SerializeArgUrl() const;
|
| + void ParseArgUrl(const std::string& url);
|
| +
|
| // Flatten the activity's type-specific fields into an ExtensionActivity.
|
| scoped_ptr<api::activity_log_private::ExtensionActivity>
|
| ConvertToExtensionActivity();
|
|
|
| // Print an action as a regular string for debugging purposes.
|
| - std::string PrintForDebug();
|
| + virtual std::string PrintForDebug() const;
|
|
|
| protected:
|
| virtual ~Action();
|
|
|