Home
last modified time | relevance | path

Searched refs:DiagnosticsController (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/chrome/browser/diagnostics/
Ddiagnostics_controller.cc25 DiagnosticsController* DiagnosticsController::GetInstance() { in GetInstance()
26 return Singleton<DiagnosticsController>::get(); in GetInstance()
29 DiagnosticsController::DiagnosticsController() : writer_(NULL) {} in DiagnosticsController() function in diagnostics::DiagnosticsController
31 DiagnosticsController::~DiagnosticsController() {} in ~DiagnosticsController()
33 const DiagnosticsModel& DiagnosticsController::GetResults() const { in GetResults()
37 bool DiagnosticsController::HasResults() { in HasResults()
41 void DiagnosticsController::ClearResults() { model_.reset(); } in ClearResults()
43 void DiagnosticsController::RecordRegularStartup() { in RecordRegularStartup()
61 int DiagnosticsController::Run(const CommandLine& command_line, in Run()
73 int DiagnosticsController::RunRecovery(const CommandLine& command_line, in RunRecovery()
Ddiagnostics_controller_unittest.cc63 DiagnosticsController::GetInstance()->ClearResults(); in TearDown()
95 DiagnosticsController::GetInstance()->Run(cmdline_, writer_.get()); in TEST_F()
96 EXPECT_TRUE(DiagnosticsController::GetInstance()->HasResults()); in TEST_F()
98 DiagnosticsController::GetInstance()->GetResults(); in TEST_F()
109 DiagnosticsController::GetInstance()->Run(cmdline_, writer_.get()); in TEST_F()
110 DiagnosticsController::GetInstance()->RunRecovery(cmdline_, writer_.get()); in TEST_F()
111 EXPECT_TRUE(DiagnosticsController::GetInstance()->HasResults()); in TEST_F()
113 DiagnosticsController::GetInstance()->GetResults(); in TEST_F()
128 DiagnosticsController::GetInstance()->Run(cmdline_, writer_.get()); in TEST_F()
129 ASSERT_TRUE(DiagnosticsController::GetInstance()->HasResults()); in TEST_F()
[all …]
Ddiagnostics_controller.h18 class DiagnosticsController {
20 static DiagnosticsController* GetInstance();
47 friend struct DefaultSingletonTraits<DiagnosticsController>;
49 DiagnosticsController();
50 ~DiagnosticsController();
55 DISALLOW_COPY_AND_ASSIGN(DiagnosticsController);
/external/chromium_org/chrome/app/
Dchrome_main_delegate.cc404 *exit_code = diagnostics::DiagnosticsController::GetInstance()->Run( in BasicStartupComplete()
406 diagnostics::DiagnosticsController::GetInstance()->ClearResults(); in BasicStartupComplete()
446 diagnostics::DiagnosticsController::GetInstance()->Run(command_line, in BasicStartupComplete()
456 diagnostics::DiagnosticsController::GetInstance()->RunRecovery( in BasicStartupComplete()
465 diagnostics::DiagnosticsController::GetInstance()->RecordRegularStartup(); in BasicStartupComplete()