ActivityDatabase 40 chrome/browser/extensions/activity_log/activity_database.cc ActivityDatabase::ActivityDatabase(ActivityDatabase::Delegate* delegate) ActivityDatabase 54 chrome/browser/extensions/activity_log/activity_database.cc ActivityDatabase::~ActivityDatabase() {} ActivityDatabase 56 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::Init(const base::FilePath& db_name) { ActivityDatabase 63 chrome/browser/extensions/activity_log/activity_database.cc base::Bind(&ActivityDatabase::DatabaseErrorCallback, ActivityDatabase 99 chrome/browser/extensions/activity_log/activity_database.cc &ActivityDatabase::RecordBatchedActions); ActivityDatabase 102 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::LogInitFailure() { ActivityDatabase 107 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::AdviseFlush(int size) { ActivityDatabase 117 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::RecordBatchedActions() { ActivityDatabase 124 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::SetBatchModeForTesting(bool batch_mode) { ActivityDatabase 129 chrome/browser/extensions/activity_log/activity_database.cc &ActivityDatabase::RecordBatchedActions); ActivityDatabase 137 chrome/browser/extensions/activity_log/activity_database.cc sql::Connection* ActivityDatabase::GetSqlConnection() { ActivityDatabase 148 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::Close() { ActivityDatabase 162 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::HardFailureClose() { ActivityDatabase 172 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::SoftFailureClose() { ActivityDatabase 178 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::DatabaseErrorCallback(int error, sql::Statement* stmt) { ActivityDatabase 189 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::RecordBatchedActionsWhileTesting() { ActivityDatabase 194 chrome/browser/extensions/activity_log/activity_database.cc void ActivityDatabase::SetTimerForTesting(int ms) { ActivityDatabase 199 chrome/browser/extensions/activity_log/activity_database.cc &ActivityDatabase::RecordBatchedActionsWhileTesting); ActivityDatabase 203 chrome/browser/extensions/activity_log/activity_database.cc bool ActivityDatabase::InitializeTable(sql::Connection* db, ActivityDatabase 61 chrome/browser/extensions/activity_log/activity_database.h class ActivityDatabase { ActivityDatabase 69 chrome/browser/extensions/activity_log/activity_database.h friend class ActivityDatabase; ActivityDatabase 104 chrome/browser/extensions/activity_log/activity_database.h explicit ActivityDatabase(Delegate* delegate); ActivityDatabase 148 chrome/browser/extensions/activity_log/activity_database.h virtual ~ActivityDatabase(); ActivityDatabase 192 chrome/browser/extensions/activity_log/activity_database.h base::RepeatingTimer<ActivityDatabase> timer_; ActivityDatabase 200 chrome/browser/extensions/activity_log/activity_database.h DISALLOW_COPY_AND_ASSIGN(ActivityDatabase); ActivityDatabase 45 chrome/browser/extensions/activity_log/activity_database_unittest.cc class ActivityDatabaseTestPolicy : public ActivityDatabase::Delegate { ActivityDatabase 53 chrome/browser/extensions/activity_log/activity_database_unittest.cc virtual void Record(ActivityDatabase* db, scoped_refptr<Action> action); ActivityDatabase 71 chrome/browser/extensions/activity_log/activity_database_unittest.cc return ActivityDatabase::InitializeTable(db, ActivityDatabase 102 chrome/browser/extensions/activity_log/activity_database_unittest.cc void ActivityDatabaseTestPolicy::Record(ActivityDatabase* db, ActivityDatabase 128 chrome/browser/extensions/activity_log/activity_database_unittest.cc ActivityDatabase* OpenDatabase(const base::FilePath& db_file) { ActivityDatabase 130 chrome/browser/extensions/activity_log/activity_database_unittest.cc ActivityDatabase* activity_db = new ActivityDatabase(db_delegate_); ActivityDatabase 143 chrome/browser/extensions/activity_log/activity_database_unittest.cc void Record(ActivityDatabase* db, scoped_refptr<Action> action) { ActivityDatabase 179 chrome/browser/extensions/activity_log/activity_database_unittest.cc ActivityDatabase* activity_db = OpenDatabase(db_file); ActivityDatabase 196 chrome/browser/extensions/activity_log/activity_database_unittest.cc ActivityDatabase* activity_db = OpenDatabase(db_file); ActivityDatabase 216 chrome/browser/extensions/activity_log/activity_database_unittest.cc ActivityDatabase* activity_db = OpenDatabase(db_file); ActivityDatabase 234 chrome/browser/extensions/activity_log/activity_database_unittest.cc ActivityDatabase* activity_db = OpenDatabase(db_file); ActivityDatabase 256 chrome/browser/extensions/activity_log/activity_database_unittest.cc ActivityDatabase* activity_db = OpenDatabase(db_file); ActivityDatabase 263 chrome/browser/extensions/activity_log/activity_database_unittest.cc activity_db->AdviseFlush(ActivityDatabase::kFlushImmediately); ActivityDatabase 278 chrome/browser/extensions/activity_log/activity_database_unittest.cc ActivityDatabase* activity_db = new ActivityDatabase(delegate); ActivityDatabase 55 chrome/browser/extensions/activity_log/activity_log_policy.cc db_ = new ActivityDatabase(this); ActivityDatabase 60 chrome/browser/extensions/activity_log/activity_log_policy.cc ScheduleAndForget(db_, &ActivityDatabase::Init, database_path_); ActivityDatabase 65 chrome/browser/extensions/activity_log/activity_log_policy.cc &ActivityDatabase::AdviseFlush, ActivityDatabase 66 chrome/browser/extensions/activity_log/activity_log_policy.cc ActivityDatabase::kFlushImmediately); ActivityDatabase 152 chrome/browser/extensions/activity_log/activity_log_policy.h public ActivityDatabase::Delegate { ActivityDatabase 222 chrome/browser/extensions/activity_log/activity_log_policy.h ActivityDatabase* activity_database() const { return db_; } ActivityDatabase 232 chrome/browser/extensions/activity_log/activity_log_policy.h ActivityDatabase* db_; ActivityDatabase 185 chrome/browser/extensions/activity_log/counting_policy.cc if (!ActivityDatabase::InitializeTable(db, ActivityDatabase 212 chrome/browser/extensions/activity_log/counting_policy.cc activity_database()->AdviseFlush(ActivityDatabase::kFlushImmediately); ActivityDatabase 428 chrome/browser/extensions/activity_log/counting_policy.cc activity_database()->AdviseFlush(ActivityDatabase::kFlushImmediately); ActivityDatabase 535 chrome/browser/extensions/activity_log/counting_policy.cc activity_database()->AdviseFlush(ActivityDatabase::kFlushImmediately); ActivityDatabase 570 chrome/browser/extensions/activity_log/counting_policy.cc activity_database()->AdviseFlush(ActivityDatabase::kFlushImmediately); ActivityDatabase 645 chrome/browser/extensions/activity_log/counting_policy.cc activity_database()->AdviseFlush(ActivityDatabase::kFlushImmediately); ActivityDatabase 798 chrome/browser/extensions/activity_log/counting_policy.cc ScheduleAndForget(activity_database(), &ActivityDatabase::Close); ActivityDatabase 60 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc return ActivityDatabase::InitializeTable(db, ActivityDatabase 130 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc activity_database()->AdviseFlush(ActivityDatabase::kFlushImmediately); ActivityDatabase 234 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc activity_database()->AdviseFlush(ActivityDatabase::kFlushImmediately); ActivityDatabase 267 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc activity_database()->AdviseFlush(ActivityDatabase::kFlushImmediately); ActivityDatabase 333 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc activity_database()->AdviseFlush(ActivityDatabase::kFlushImmediately); ActivityDatabase 387 chrome/browser/extensions/activity_log/fullstream_ui_policy.cc ScheduleAndForget(activity_database(), &ActivityDatabase::Close);