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

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

Issue 12664009: Revert 189134 "Due to privacy concerns about the data contained ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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;
50 48
51 // Create the database table for storing APIActions, or update the schema if 49 // Create the database table for storing APIActions, or update the schema if
52 // it is out of date. Any existing data is preserved. 50 // it is out of date. Any existing data is preserved.
53 static bool InitializeTable(sql::Connection* db); 51 static bool InitializeTable(sql::Connection* db);
54 52
55 // Create a new APIAction to describe a successful API call. All 53 // Create a new APIAction to describe a successful API call. All
56 // parameters are required. 54 // parameters are required.
57 APIAction(const std::string& extension_id, 55 APIAction(const std::string& extension_id,
58 const base::Time& time, 56 const base::Time& time,
59 const Type type, // e.g. "CALL" 57 const Type type, // e.g. "CALL"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 std::string api_call_; 96 std::string api_call_;
99 std::string args_; 97 std::string args_;
100 std::string extra_; 98 std::string extra_;
101 99
102 DISALLOW_COPY_AND_ASSIGN(APIAction); 100 DISALLOW_COPY_AND_ASSIGN(APIAction);
103 }; 101 };
104 102
105 } // namespace 103 } // namespace
106 104
107 #endif // CHROME_BROWSER_EXTENSIONS_API_ACTIONS_H_ 105 #endif // CHROME_BROWSER_EXTENSIONS_API_ACTIONS_H_
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/extensions/activity_log_unittest.cc ('k') | trunk/src/chrome/browser/extensions/api_actions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698