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

Side by Side Diff: chrome/browser/extensions/api_actions.h

Issue 12918020: Removing arguments from the activity log (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed memory leak Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_ACTIONS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_ACTIONS_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_ACTIONS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_ACTIONS_H_
7 7
8 #include "chrome/browser/extensions/activity_actions.h" 8 #include "chrome/browser/extensions/activity_actions.h"
9 9
10 namespace extensions { 10 namespace extensions {
(...skipping 27 matching lines...) Expand all
38 HISTORY, 38 HISTORY,
39 COOKIES, 39 COOKIES,
40 BROWSER_ACTION, 40 BROWSER_ACTION,
41 NOTIFICATION, 41 NOTIFICATION,
42 OMNIBOX, 42 OMNIBOX,
43 UNKNOWN_TARGET 43 UNKNOWN_TARGET
44 }; 44 };
45 45
46 static const char* kTableName; 46 static const char* kTableName;
47 static const char* kTableContentFields[]; 47 static const char* kTableContentFields[];
48 static const char* kAlwaysLog[];
49 static const int kSizeAlwaysLog;
48 50
49 // Create the database table for storing APIActions, or update the schema if 51 // Create the database table for storing APIActions, or update the schema if
50 // it is out of date. Any existing data is preserved. 52 // it is out of date. Any existing data is preserved.
51 static bool InitializeTable(sql::Connection* db); 53 static bool InitializeTable(sql::Connection* db);
52 54
53 // Create a new APIAction to describe a successful API call. All 55 // Create a new APIAction to describe a successful API call. All
54 // parameters are required. 56 // parameters are required.
55 APIAction(const std::string& extension_id, 57 APIAction(const std::string& extension_id,
56 const base::Time& time, 58 const base::Time& time,
57 const Type type, // e.g. "CALL" 59 const Type type, // e.g. "CALL"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 std::string api_call_; 98 std::string api_call_;
97 std::string args_; 99 std::string args_;
98 std::string extra_; 100 std::string extra_;
99 101
100 DISALLOW_COPY_AND_ASSIGN(APIAction); 102 DISALLOW_COPY_AND_ASSIGN(APIAction);
101 }; 103 };
102 104
103 } // namespace 105 } // namespace
104 106
105 #endif // CHROME_BROWSER_EXTENSIONS_API_ACTIONS_H_ 107 #endif // CHROME_BROWSER_EXTENSIONS_API_ACTIONS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/activity_log_unittest.cc ('k') | chrome/browser/extensions/api_actions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698