Home
last modified time | relevance | path

Searched refs:AppTimeController (Results 1 – 15 of 15) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/child_accounts/time_limits/
H A Dapp_time_controller.cc182 AppTimeController::TestApi::TestApi(AppTimeController* controller) in TestApi()
185 AppTimeController::TestApi::~TestApi() = default;
219 AppTimeController::AppTimeController(Profile* profile) in AppTimeController() function in chromeos::app_time::AppTimeController
278 AppTimeController::~AppTimeController() { in ~AppTimeController()
290 bool AppTimeController::IsExtensionAllowlisted( in IsExtensionAllowlisted()
308 void AppTimeController::SystemClockUpdated() { in SystemClockUpdated()
319 void AppTimeController::RegisterProfilePrefObservers( in RegisterProfilePrefObservers()
506 void AppTimeController::OnResetTimeReached() { in OnResetTimeReached()
516 void AppTimeController::RestoreLastResetTime() { in RestoreLastResetTime()
566 void AppTimeController::OpenFamilyLinkApp() { in OpenFamilyLinkApp()
[all …]
H A Dapp_time_controller.h49 class AppTimeController : public SystemClockClient::Observer,
57 explicit TestApi(AppTimeController* controller);
67 AppTimeController* const controller_;
76 explicit AppTimeController(Profile* profile);
77 AppTimeController(const AppTimeController&) = delete;
78 AppTimeController& operator=(const AppTimeController&) = delete;
79 ~AppTimeController() override;
180 base::WeakPtrFactory<AppTimeController> weak_ptr_factory_{this};
H A Dweb_time_limit_enforcer.h24 class AppTimeController; variable
30 explicit WebTimeLimitEnforcer(AppTimeController* controller);
57 AppTimeController* const app_time_controller_;
H A Dweb_time_activity_provider.h31 class AppTimeController; variable
40 WebTimeActivityProvider(AppTimeController* app_time_controller,
86 AppTimeController* const app_time_controller_;
H A Dapp_activity_report_interface.cc23 return AppTimeController::ArePerAppTimeLimitsEnabled() && in ShouldReportAppActivity()
24 AppTimeController::IsAppActivityReportingEnabled(); in ShouldReportAppActivity()
H A Dapp_time_controller_unittest.cc137 AppTimeController::TestApi* test_api() { return test_api_.get(); } in test_api()
138 AppTimeController* controller() { return controller_.get(); } in controller()
165 std::unique_ptr<AppTimeController> controller_;
166 std::unique_ptr<AppTimeController::TestApi> test_api_;
288 controller_ = std::make_unique<AppTimeController>(&profile_); in InstantiateController()
289 test_api_ = std::make_unique<AppTimeController::TestApi>(controller_.get()); in InstantiateController()
294 EXPECT_TRUE(AppTimeController::ArePerAppTimeLimitsEnabled()); in TEST_F()
H A Dweb_time_navigation_observer.cc24 if (!AppTimeController::ArePerAppTimeLimitsEnabled() || in MaybeCreateForWebContents()
H A Dweb_time_limit_enforcer.cc35 AppTimeController* app_time_controller) in WebTimeLimitEnforcer()
H A Dweb_time_activity_provider.cc62 AppTimeController* app_time_controller, in WebTimeActivityProvider()
H A Dapp_time_browsertest.cc159 AppTimeController::TestApi(child_user_service.app_time_controller()); in GetAppRegistry()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/child_accounts/
H A Dchild_user_service.h32 class AppTimeController; variable
50 app_time::AppTimeController* app_time_controller();
101 std::unique_ptr<app_time::AppTimeController> app_time_controller_;
H A Dchild_user_service.cc32 app_time::AppTimeController* ChildUserService::TestApi::app_time_controller() { in app_time_controller()
44 if (app_time::AppTimeController::ArePerAppTimeLimitsEnabled()) { in ChildUserService()
45 app_time_controller_ = std::make_unique<app_time::AppTimeController>( in ChildUserService()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/policy/status_collector/
H A Dchild_status_collector_browsertest.cc311 chromeos::app_time::AppTimeController::TestApi( in SimulateAppActivity()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/prefs/
H A Dbrowser_prefs.cc946 chromeos::app_time::AppTimeController::RegisterProfilePrefs(registry); in RegisterProfilePrefs()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/prefs/
H A Dbrowser_prefs.cc1026 chromeos::app_time::AppTimeController::RegisterProfilePrefs(registry); in RegisterProfilePrefs()