Searched defs:deal (Results 1 - 5 of 5) sorted by relevance
/external/chromium/chrome/browser/chromeos/ |
H A D | customization_document_unittest.cc | 195 const ServicesCustomizationDocument::CarrierDeal* deal; local 196 deal = customization.GetCarrierDeal("Carrier (country)", true); 197 EXPECT_TRUE(deal != NULL); 198 EXPECT_EQ("en-US", deal->deal_locale); 199 EXPECT_EQ("http://www.carrier.com/", deal->top_up_url); 200 EXPECT_EQ(1, deal->notification_count); 202 deal->GetLocalizedString("en-US", "notification_text")); 204 deal->GetLocalizedString("en", "notification_text")); 208 EXPECT_EQ(reference_time, deal->expire_date); 216 const ServicesCustomizationDocument::CarrierDeal* deal; local 227 const ServicesCustomizationDocument::CarrierDeal* deal; local 241 const ServicesCustomizationDocument::CarrierDeal* deal; local [all...] |
H A D | customization_document.cc | 363 CarrierDeal* deal = iter->second; local 366 if (initial_locale_ != deal->deal_locale) 368 // Make sure that deal is still active, 369 // i.e. if deal expire date is defined, check it. 370 if (!deal->expire_date.is_null() && 371 deal->expire_date <= base::Time::Now()) { 375 return deal;
|
/external/chromium/chrome/browser/chromeos/status/ |
H A D | network_menu_button.cc | 90 // carrier deal notification has been shown to user or -1 273 const ServicesCustomizationDocument::CarrierDeal* deal = local 275 if (deal) { 276 // Check deal for validity. 278 if (carrier_deal_promo_pref >= deal->notification_count) 281 std::string deal_text = deal->GetLocalizedString(locale, 286 return deal; 426 // of Mobile Data connection or if there's a carrier deal defined 432 const ServicesCustomizationDocument::CarrierDeal* deal = local 436 if (deal) { [all...] |
H A D | network_menu.cc | 521 // Ignoring deal restrictions, use any carrier information available. 522 const ServicesCustomizationDocument::CarrierDeal* deal = local 524 if (deal && !deal->top_up_url.empty()) 525 top_up_url_ = deal->top_up_url;
|
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
H A D | internet_options_handler.cc | 728 const chromeos::ServicesCustomizationDocument::CarrierDeal* deal = local 730 if (deal && !deal->top_up_url.empty()) 731 dictionary->SetString("carrierUrl", deal->top_up_url);
|
Completed in 1820 milliseconds