Chromium Code Reviews| Index: chrome/browser/extensions/activity_log/api_actions.h |
| diff --git a/chrome/browser/extensions/activity_log/api_actions.h b/chrome/browser/extensions/activity_log/api_actions.h |
| index 2a5ff4b69be1684751b835a54fa46812cd106ab6..f5036403a960f9527bc99f77ce12b457f9a7bda8 100644 |
| --- a/chrome/browser/extensions/activity_log/api_actions.h |
| +++ b/chrome/browser/extensions/activity_log/api_actions.h |
| @@ -15,13 +15,14 @@ namespace extensions { |
| class APIAction : public Action { |
| public: |
| enum Type { |
|
Matt Perry
2013/05/17 19:08:55
Add a comment here warning that these values shoul
felt
2013/05/18 00:27:18
Done.
|
| - CALL, |
| - EVENT_CALLBACK, |
| - UNKNOWN_TYPE |
| + CALL = 0, |
| + EVENT_CALLBACK = 1, |
| + UNKNOWN_TYPE = 2, |
| }; |
| static const char* kTableName; |
| static const char* kTableContentFields[]; |
| + static const char* kTableFieldTypes[]; |
| static const char* kAlwaysLog[]; |
| static const int kSizeAlwaysLog; |
| @@ -61,9 +62,6 @@ class APIAction : public Action { |
| std::string TypeAsString() const; |
| std::string extra() const { return extra_; } |
| - // Helper method(s) for creating a APIAction. |
| - static Type StringAsType(const std::string& str); |
| - |
| protected: |
| virtual ~APIAction(); |