Home
last modified time | relevance | path

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

/external/chromium_org/chrome/service/cloud_print/
Dconnector_settings_unittest.cc92 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()
Dconnector_settings.h56 bool ShouldConnect(const std::string& printer_name) const;
Dconnector_settings.cc97 bool ConnectorSettings::ShouldConnect(const std::string& printer_name) const { in ShouldConnect() function in cloud_print::ConnectorSettings
Dcloud_print_connector.cc116 if (settings_.ShouldConnect(it->printer_name)) in RegisterPrinters()
248 if (!settings_.ShouldConnect(printer_name)) { in HandlePrinterListResponse()