diff --git a/tests/ceftests/frame_unittest.cc b/tests/ceftests/frame_unittest.cc index 9bcb7e0b2..c4f544d75 100644 --- a/tests/ceftests/frame_unittest.cc +++ b/tests/ceftests/frame_unittest.cc @@ -990,8 +990,8 @@ class FrameNavExpectationsBrowserTestSingleNav V_DECLARE(); // When browser-side navigation is enabled this method will be called // before the frame is created. - V_EXPECT_TRUE(VerifySingleBrowserFrames( - browser, frame, false, std::string())); + V_EXPECT_TRUE( + VerifySingleBrowserFrames(browser, frame, false, std::string())); V_EXPECT_TRUE(parent::OnBeforeBrowse(browser, frame, url)); V_RETURN(); } @@ -1001,8 +1001,8 @@ class FrameNavExpectationsBrowserTestSingleNav V_DECLARE(); // When browser-side navigation is enabled this method will be called // before the frame is created. - V_EXPECT_TRUE(VerifySingleBrowserFrames( - browser, frame, false, std::string())); + V_EXPECT_TRUE( + VerifySingleBrowserFrames(browser, frame, false, std::string())); V_EXPECT_TRUE(parent::GetResourceHandler(browser, frame)); V_RETURN(); } @@ -1504,8 +1504,7 @@ class FrameNavExpectationsBrowserTestMultiNav // When browser-side navigation is enabled this method will be called // before the frame is created for the first navigation. V_EXPECT_TRUE(VerifySingleBrowserFrames( - browser, frame, nav() == 0 ? false : true, - expected_url)); + browser, frame, nav() == 0 ? false : true, expected_url)); V_EXPECT_TRUE(parent::OnBeforeBrowse(browser, frame, url)); V_RETURN(); } @@ -1519,8 +1518,7 @@ class FrameNavExpectationsBrowserTestMultiNav // When browser-side navigation is enabled this method will be called // before the frame is created for the first navigation. V_EXPECT_TRUE(VerifySingleBrowserFrames( - browser, frame, nav() == 0 ? false : true, - expected_url)); + browser, frame, nav() == 0 ? false : true, expected_url)); V_EXPECT_TRUE(parent::GetResourceHandler(browser, frame)); V_RETURN(); } diff --git a/tests/ceftests/navigation_unittest.cc b/tests/ceftests/navigation_unittest.cc index ce5dd285a..0bf4931c3 100644 --- a/tests/ceftests/navigation_unittest.cc +++ b/tests/ceftests/navigation_unittest.cc @@ -3252,9 +3252,8 @@ class CancelAfterNavTestHandler : public TestHandler { got_get_resource_handler_.yes(); // The required delay is longer when browser-side navigation is enabled. - CefPostDelayedTask(TID_UI, - base::Bind(&CancelAfterNavTestHandler::CancelLoad, this), - 1000); + CefPostDelayedTask( + TID_UI, base::Bind(&CancelAfterNavTestHandler::CancelLoad, this), 1000); return new StalledSchemeHandler(); } diff --git a/tests/ceftests/request_unittest.cc b/tests/ceftests/request_unittest.cc index d5e4a6668..5616d50f5 100644 --- a/tests/ceftests/request_unittest.cc +++ b/tests/ceftests/request_unittest.cc @@ -313,7 +313,7 @@ const char kTypeTestOrigin[] = "http://tests-requesttt.com/"; static struct TypeExpected { const char* file; - bool navigation; // True if this expectation represents a navigation. + bool navigation; // True if this expectation represents a navigation. cef_transition_type_t transition_type; cef_resource_type_t resource_type; int expected_count; @@ -342,8 +342,7 @@ static struct TypeExpected { class TypeExpectations { public: - explicit TypeExpectations(bool navigation) - : navigation_(navigation) { + explicit TypeExpectations(bool navigation) : navigation_(navigation) { // Build the map of relevant requests. for (int i = 0; i < static_cast(sizeof(g_type_expected) / sizeof(TypeExpected)); @@ -378,8 +377,7 @@ class TypeExpectations { const int actual_count = ++it->second; const int expected_count = g_type_expected[index].expected_count; EXPECT_LE(actual_count, expected_count) - << "File: " << file.c_str() - << "; Navigation: " << navigation_ + << "File: " << file.c_str() << "; Navigation: " << navigation_ << "; Transition Type: " << transition_type << "; Resource Type: " << resource_type; @@ -513,8 +511,7 @@ class TypeTestHandler : public TestHandler { get_expectations_.IsDone(false)) { completed_browser_side_ = true; // Destroy the test on the UI thread. - CefPostTask(TID_UI, - base::Bind(&TypeTestHandler::DestroyTest, this)); + CefPostTask(TID_UI, base::Bind(&TypeTestHandler::DestroyTest, this)); } return TestHandler::GetResourceHandler(browser, frame, request);