MetricsLogBase 295 chrome/browser/metrics/metrics_log.cc MetricsLogBase::Hash(MapThreadName(it->birth.thread_name))); MetricsLogBase 297 chrome/browser/metrics/metrics_log.cc MetricsLogBase::Hash(MapThreadName(it->death_thread_name))); MetricsLogBase 299 chrome/browser/metrics/metrics_log.cc MetricsLogBase::Hash(NormalizeFileName(it->birth.location.file_name))); MetricsLogBase 301 chrome/browser/metrics/metrics_log.cc MetricsLogBase::Hash(it->birth.location.function_name)); MetricsLogBase 383 chrome/browser/metrics/metrics_log.cc : MetricsLogBase(client_id, session_id, MetricsLog::GetVersionString()), MetricsLogBase 837 chrome/browser/metrics/metrics_log.cc omnibox_event->set_time(MetricsLogBase::GetCurrentTime()); MetricsLogBase 67 chrome/browser/metrics/metrics_log.h class MetricsLog : public MetricsLogBase { MetricsLogBase 65 chrome/browser/metrics/metrics_log_serializer.cc case MetricsLogBase::INITIAL_LOG: MetricsLogBase 69 chrome/browser/metrics/metrics_log_serializer.cc case MetricsLogBase::ONGOING_LOG: MetricsLogBase 73 chrome/browser/metrics/metrics_log_serializer.cc case MetricsLogBase::NO_LOG: MetricsLogBase 91 chrome/browser/metrics/metrics_log_serializer.cc if (log_type == MetricsLogBase::INITIAL_LOG) MetricsLogBase 53 chrome/common/metrics/metrics_log_base.cc MetricsLogBase::MetricsLogBase(const std::string& client_id, int session_id, MetricsLogBase 69 chrome/common/metrics/metrics_log_base.cc MetricsLogBase::~MetricsLogBase() {} MetricsLogBase 72 chrome/common/metrics/metrics_log_base.cc uint64 MetricsLogBase::Hash(const std::string& value) { MetricsLogBase 87 chrome/common/metrics/metrics_log_base.cc int64 MetricsLogBase::GetBuildTime() { MetricsLogBase 100 chrome/common/metrics/metrics_log_base.cc int64 MetricsLogBase::GetCurrentTime() { MetricsLogBase 104 chrome/common/metrics/metrics_log_base.cc void MetricsLogBase::CloseLog() { MetricsLogBase 109 chrome/common/metrics/metrics_log_base.cc void MetricsLogBase::GetEncodedLog(std::string* encoded_log) { MetricsLogBase 114 chrome/common/metrics/metrics_log_base.cc void MetricsLogBase::RecordUserAction(const char* key) { MetricsLogBase 124 chrome/common/metrics/metrics_log_base.cc void MetricsLogBase::RecordHistogramDelta(const std::string& histogram_name, MetricsLogBase 26 chrome/common/metrics/metrics_log_base.h class MetricsLogBase { MetricsLogBase 38 chrome/common/metrics/metrics_log_base.h MetricsLogBase(const std::string& client_id, MetricsLogBase 41 chrome/common/metrics/metrics_log_base.h virtual ~MetricsLogBase(); MetricsLogBase 100 chrome/common/metrics/metrics_log_base.h DISALLOW_COPY_AND_ASSIGN(MetricsLogBase); MetricsLogBase 17 chrome/common/metrics/metrics_log_base_unittest.cc class TestMetricsLogBase : public MetricsLogBase { MetricsLogBase 19 chrome/common/metrics/metrics_log_base_unittest.cc TestMetricsLogBase() : MetricsLogBase("client_id", 1, "1.2.3.4") {} MetricsLogBase 22 chrome/common/metrics/metrics_log_base_unittest.cc using MetricsLogBase::uma_proto; MetricsLogBase 31 chrome/common/metrics/metrics_log_base_unittest.cc MetricsLogBase log("totally bogus client ID", 137, "bogus version"); MetricsLogBase 43 chrome/common/metrics/metrics_log_manager.cc current_log_type_(MetricsLogBase::NO_LOG), MetricsLogBase 44 chrome/common/metrics/metrics_log_manager.cc paused_log_type_(MetricsLogBase::NO_LOG), MetricsLogBase 45 chrome/common/metrics/metrics_log_manager.cc staged_log_type_(MetricsLogBase::NO_LOG), MetricsLogBase 48 chrome/common/metrics/metrics_log_manager.cc last_provisional_store_type_(MetricsLogBase::INITIAL_LOG) {} MetricsLogBase 52 chrome/common/metrics/metrics_log_manager.cc void MetricsLogManager::BeginLoggingWithLog(MetricsLogBase* log, MetricsLogBase 54 chrome/common/metrics/metrics_log_manager.cc DCHECK_NE(MetricsLogBase::NO_LOG, log_type); MetricsLogBase 62 chrome/common/metrics/metrics_log_manager.cc DCHECK_NE(MetricsLogBase::NO_LOG, current_log_type_); MetricsLogBase 69 chrome/common/metrics/metrics_log_manager.cc current_log_type_ = MetricsLogBase::NO_LOG; MetricsLogBase 78 chrome/common/metrics/metrics_log_manager.cc MetricsLogBase::ONGOING_LOG : MetricsLogBase::INITIAL_LOG; MetricsLogBase 83 chrome/common/metrics/metrics_log_manager.cc DCHECK_EQ(MetricsLogBase::NO_LOG, staged_log_type_); MetricsLogBase 104 chrome/common/metrics/metrics_log_manager.cc staged_log_type_ = MetricsLogBase::NO_LOG; MetricsLogBase 110 chrome/common/metrics/metrics_log_manager.cc current_log_type_ = MetricsLogBase::NO_LOG; MetricsLogBase 115 chrome/common/metrics/metrics_log_manager.cc DCHECK_EQ(MetricsLogBase::NO_LOG, paused_log_type_); MetricsLogBase 118 chrome/common/metrics/metrics_log_manager.cc current_log_type_ = MetricsLogBase::NO_LOG; MetricsLogBase 123 chrome/common/metrics/metrics_log_manager.cc DCHECK_EQ(MetricsLogBase::NO_LOG, current_log_type_); MetricsLogBase 126 chrome/common/metrics/metrics_log_manager.cc paused_log_type_ = MetricsLogBase::NO_LOG; MetricsLogBase 143 chrome/common/metrics/metrics_log_manager.cc DCHECK_NE(MetricsLogBase::NO_LOG, log_type); MetricsLogBase 145 chrome/common/metrics/metrics_log_manager.cc (log_type == MetricsLogBase::INITIAL_LOG) ? &unsent_initial_logs_ MetricsLogBase 160 chrome/common/metrics/metrics_log_manager.cc (last_provisional_store_type_ == MetricsLogBase::ONGOING_LOG) ? MetricsLogBase 192 chrome/common/metrics/metrics_log_manager.cc MetricsLogBase::INITIAL_LOG); MetricsLogBase 194 chrome/common/metrics/metrics_log_manager.cc MetricsLogBase::ONGOING_LOG); MetricsLogBase 204 chrome/common/metrics/metrics_log_manager.cc log_serializer_->DeserializeLogs(MetricsLogBase::INITIAL_LOG, MetricsLogBase 206 chrome/common/metrics/metrics_log_manager.cc log_serializer_->DeserializeLogs(MetricsLogBase::ONGOING_LOG, MetricsLogBase 21 chrome/common/metrics/metrics_log_manager.h typedef MetricsLogBase::LogType LogType; MetricsLogBase 65 chrome/common/metrics/metrics_log_manager.h void BeginLoggingWithLog(MetricsLogBase* log, LogType log_type); MetricsLogBase 68 chrome/common/metrics/metrics_log_manager.h MetricsLogBase* current_log() { return current_log_.get(); } MetricsLogBase 179 chrome/common/metrics/metrics_log_manager.h scoped_ptr<MetricsLogBase> current_log_; MetricsLogBase 183 chrome/common/metrics/metrics_log_manager.h scoped_ptr<MetricsLogBase> paused_log_; MetricsLogBase 53 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* initial_log = new MetricsLogBase("id", 0, "version"); MetricsLogBase 54 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(initial_log, MetricsLogBase::INITIAL_LOG); MetricsLogBase 63 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* second_log = new MetricsLogBase("id", 0, "version"); MetricsLogBase 64 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(second_log, MetricsLogBase::ONGOING_LOG); MetricsLogBase 83 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* dummy_log = new MetricsLogBase("id", 0, "version"); MetricsLogBase 84 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(dummy_log, MetricsLogBase::INITIAL_LOG); MetricsLogBase 95 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* ongoing_log = new MetricsLogBase("id", 0, "version"); MetricsLogBase 96 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* temp_log = new MetricsLogBase("id", 0, "version"); MetricsLogBase 98 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(ongoing_log, MetricsLogBase::ONGOING_LOG); MetricsLogBase 104 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(temp_log, MetricsLogBase::INITIAL_LOG); MetricsLogBase 124 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* ongoing_log = new MetricsLogBase("id", 0, "version"); MetricsLogBase 125 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* temp_log = new MetricsLogBase("id", 0, "version"); MetricsLogBase 127 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(ongoing_log, MetricsLogBase::ONGOING_LOG); MetricsLogBase 129 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(temp_log, MetricsLogBase::INITIAL_LOG); MetricsLogBase 139 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); MetricsLogBase 140 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 159 chrome/common/metrics/metrics_log_manager_unittest.cc serializer->persisted_logs_[MetricsLogBase::ONGOING_LOG].push_back(log); MetricsLogBase 164 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log1 = new MetricsLogBase("id", 0, "version"); MetricsLogBase 165 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log2 = new MetricsLogBase("id", 0, "version"); MetricsLogBase 166 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log1, MetricsLogBase::INITIAL_LOG); MetricsLogBase 168 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log2, MetricsLogBase::ONGOING_LOG); MetricsLogBase 174 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); MetricsLogBase 175 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 177 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); MetricsLogBase 178 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(2U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 182 chrome/common/metrics/metrics_log_manager_unittest.cc initial_logs = serializer->persisted_logs_[MetricsLogBase::INITIAL_LOG]; MetricsLogBase 183 chrome/common/metrics/metrics_log_manager_unittest.cc ongoing_logs = serializer->persisted_logs_[MetricsLogBase::ONGOING_LOG]; MetricsLogBase 193 chrome/common/metrics/metrics_log_manager_unittest.cc serializer->persisted_logs_[MetricsLogBase::INITIAL_LOG] = initial_logs; MetricsLogBase 194 chrome/common/metrics/metrics_log_manager_unittest.cc serializer->persisted_logs_[MetricsLogBase::ONGOING_LOG] = ongoing_logs; MetricsLogBase 205 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); MetricsLogBase 206 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(2U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 220 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(2U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 223 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); MetricsLogBase 224 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 236 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log = new MetricsLogBase("id", 0, "version"); MetricsLogBase 237 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log, MetricsLogBase::ONGOING_LOG); MetricsLogBase 243 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); MetricsLogBase 244 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 253 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log = new MetricsLogBase("id", 0, "version"); MetricsLogBase 254 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log, MetricsLogBase::INITIAL_LOG); MetricsLogBase 260 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); MetricsLogBase 261 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 274 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log1 = new MetricsLogBase("id", 0, "version"); MetricsLogBase 275 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log2 = new MetricsLogBase("id", 0, "version"); MetricsLogBase 276 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log1, MetricsLogBase::INITIAL_LOG); MetricsLogBase 278 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log2, MetricsLogBase::ONGOING_LOG); MetricsLogBase 283 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); MetricsLogBase 284 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 295 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log1 = new MetricsLogBase("id", 0, "version"); MetricsLogBase 296 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log2 = new MetricsLogBase("id", 0, "version"); MetricsLogBase 297 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log1, MetricsLogBase::INITIAL_LOG); MetricsLogBase 299 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log2, MetricsLogBase::ONGOING_LOG); MetricsLogBase 306 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(0U, serializer->TypeCount(MetricsLogBase::INITIAL_LOG)); MetricsLogBase 307 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 320 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log1 = new MetricsLogBase("id", 0, "version"); MetricsLogBase 321 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log2 = new MetricsLogBase("id", 0, "version"); MetricsLogBase 322 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log1, MetricsLogBase::ONGOING_LOG); MetricsLogBase 328 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log2, MetricsLogBase::ONGOING_LOG); MetricsLogBase 335 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG)); MetricsLogBase 345 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log1 = new MetricsLogBase("id", 0, "version"); MetricsLogBase 346 chrome/common/metrics/metrics_log_manager_unittest.cc MetricsLogBase* log2 = new MetricsLogBase("id", 0, "version"); MetricsLogBase 347 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log1, MetricsLogBase::ONGOING_LOG); MetricsLogBase 351 chrome/common/metrics/metrics_log_manager_unittest.cc log_manager.BeginLoggingWithLog(log2, MetricsLogBase::ONGOING_LOG); MetricsLogBase 359 chrome/common/metrics/metrics_log_manager_unittest.cc EXPECT_EQ(1U, serializer->TypeCount(MetricsLogBase::ONGOING_LOG));