// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_UPDATE_CLIENT_ACTIVITY_DATA_SERVICE_H_ #define COMPONENTS_UPDATE_CLIENT_ACTIVITY_DATA_SERVICE_H_ #include <set> #include <string> #include <vector> #include "base/functional/callback_forward.h" namespace update_client { const int kDateFirstTime = …; const int kDaysFirstTime = …; const int kDateUnknown = …; const int kDaysUnknown = …; // This is an interface that injects certain update information (active, days // since ...) into the update engine of the update client. // GetDaysSinceLastActive and GetDaysSinceLastRollCall are used for backward // compatibility. class ActivityDataService { … }; } // namespace update_client #endif // COMPONENTS_UPDATE_CLIENT_ACTIVITY_DATA_SERVICE_H_