Searched refs:ShouldConnect (Results 1 – 4 of 4) sorted by relevance
92 EXPECT_TRUE(settings.ShouldConnect("prn1")); in TEST_F()108 EXPECT_FALSE(settings.ShouldConnect("prn0")); in TEST_F()109 EXPECT_FALSE(settings.ShouldConnect("prn1")); in TEST_F()110 EXPECT_TRUE(settings.ShouldConnect("prn3")); in TEST_F()129 EXPECT_FALSE(settings2.ShouldConnect("prn0")); in TEST_F()130 EXPECT_FALSE(settings2.ShouldConnect("prn1")); in TEST_F()131 EXPECT_TRUE(settings2.ShouldConnect("prn3")); in TEST_F()
56 bool ShouldConnect(const std::string& printer_name) const;
97 bool ConnectorSettings::ShouldConnect(const std::string& printer_name) const { in ShouldConnect() function in cloud_print::ConnectorSettings
116 if (settings_.ShouldConnect(it->printer_name)) in RegisterPrinters()248 if (!settings_.ShouldConnect(printer_name)) { in HandlePrinterListResponse()