rlz_lib 262 chrome/browser/chromeos/login/login_utils_browsertest.cc rlz_lib::testing::SetRlzStoreDirectory(scoped_temp_dir_.path()); rlz_lib 186 chrome/browser/extensions/api/music_manager_private/device_id_win.cc if (!rlz_lib::GetMachineId(&machine_id)) rlz_lib 84 chrome/browser/extensions/install_signer.cc if (!rlz_lib::GetMachineId(&machine_id)) rlz_lib 306 chrome/browser/prefs/chrome_pref_service_factory.cc rlz_lib::GetMachineId(&device_id); rlz_lib 75 chrome/browser/prefs/tracked/pref_hash_calculator_helper_win_unittest.cc rlz_lib::GetMachineId(&rlz_machine_id); rlz_lib 44 chrome/browser/renderer_host/pepper/device_id_fetcher.cc rlz_lib::GetMachineId(&result); rlz_lib 81 chrome/browser/rlz/rlz.cc rlz_lib::RecordProductEvent(rlz_lib::CHROME, rlz_lib 83 chrome/browser/rlz/rlz.cc rlz_lib::INSTALL); rlz_lib 84 chrome/browser/rlz/rlz.cc rlz_lib::RecordProductEvent(rlz_lib::CHROME, rlz_lib 86 chrome/browser/rlz/rlz.cc rlz_lib::INSTALL); rlz_lib 88 chrome/browser/rlz/rlz.cc rlz_lib::RecordProductEvent(rlz_lib::CHROME, rlz_lib 90 chrome/browser/rlz/rlz.cc rlz_lib::INSTALL); rlz_lib 96 chrome/browser/rlz/rlz.cc char omnibox_rlz[rlz_lib::kMaxRlzLength + 1]; rlz_lib 97 chrome/browser/rlz/rlz.cc if (!rlz_lib::GetAccessPointRlz(RLZTracker::CHROME_OMNIBOX, omnibox_rlz, rlz_lib 98 chrome/browser/rlz/rlz.cc rlz_lib::kMaxRlzLength)) { rlz_lib 104 chrome/browser/rlz/rlz.cc rlz_lib::RecordProductEvent(rlz_lib::CHROME, rlz_lib 106 chrome/browser/rlz/rlz.cc rlz_lib::SET_TO_GOOGLE); rlz_lib 109 chrome/browser/rlz/rlz.cc char homepage_rlz[rlz_lib::kMaxRlzLength + 1]; rlz_lib 110 chrome/browser/rlz/rlz.cc if (!rlz_lib::GetAccessPointRlz(RLZTracker::CHROME_HOME_PAGE, homepage_rlz, rlz_lib 111 chrome/browser/rlz/rlz.cc rlz_lib::kMaxRlzLength)) { rlz_lib 117 chrome/browser/rlz/rlz.cc rlz_lib::RecordProductEvent(rlz_lib::CHROME, rlz_lib 119 chrome/browser/rlz/rlz.cc rlz_lib::SET_TO_GOOGLE); rlz_lib 123 chrome/browser/rlz/rlz.cc char app_list_rlz[rlz_lib::kMaxRlzLength + 1]; rlz_lib 124 chrome/browser/rlz/rlz.cc if (!rlz_lib::GetAccessPointRlz(RLZTracker::CHROME_APP_LIST, app_list_rlz, rlz_lib 125 chrome/browser/rlz/rlz.cc rlz_lib::kMaxRlzLength)) { rlz_lib 131 chrome/browser/rlz/rlz.cc rlz_lib::RecordProductEvent(rlz_lib::CHROME, rlz_lib 133 chrome/browser/rlz/rlz.cc rlz_lib::SET_TO_GOOGLE); rlz_lib 141 chrome/browser/rlz/rlz.cc rlz_lib::RecordProductEvent(rlz_lib::CHROME, rlz_lib 143 chrome/browser/rlz/rlz.cc rlz_lib::FIRST_SEARCH); rlz_lib 149 chrome/browser/rlz/rlz.cc rlz_lib::RecordProductEvent(rlz_lib::CHROME, rlz_lib 151 chrome/browser/rlz/rlz.cc rlz_lib::FIRST_SEARCH); rlz_lib 158 chrome/browser/rlz/rlz.cc rlz_lib::RecordProductEvent(rlz_lib::CHROME, rlz_lib 160 chrome/browser/rlz/rlz.cc rlz_lib::FIRST_SEARCH); rlz_lib 168 chrome/browser/rlz/rlz.cc rlz_lib::AccessPoint points[] = {RLZTracker::CHROME_OMNIBOX, rlz_lib 173 chrome/browser/rlz/rlz.cc rlz_lib::NO_ACCESS_POINT}; rlz_lib 182 chrome/browser/rlz/rlz.cc return rlz_lib::SendFinancialPing(rlz_lib::CHROME, points, rlz_lib 192 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_OMNIBOX = rlz_lib 193 chrome/browser/rlz/rlz.cc rlz_lib::CHROME_OMNIBOX; rlz_lib 195 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_HOME_PAGE = rlz_lib 196 chrome/browser/rlz/rlz.cc rlz_lib::CHROME_HOME_PAGE; rlz_lib 198 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_APP_LIST = rlz_lib 199 chrome/browser/rlz/rlz.cc rlz_lib::CHROME_APP_LIST; rlz_lib 202 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_OMNIBOX = rlz_lib 203 chrome/browser/rlz/rlz.cc rlz_lib::CHROME_IOS_OMNIBOX; rlz_lib 205 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_HOME_PAGE = rlz_lib 206 chrome/browser/rlz/rlz.cc rlz_lib::CHROME_IOS_HOME_PAGE; rlz_lib 209 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_OMNIBOX = rlz_lib 210 chrome/browser/rlz/rlz.cc rlz_lib::CHROME_MAC_OMNIBOX; rlz_lib 212 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_HOME_PAGE = rlz_lib 213 chrome/browser/rlz/rlz.cc rlz_lib::CHROME_MAC_HOME_PAGE; rlz_lib 215 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_APP_LIST = rlz_lib 216 chrome/browser/rlz/rlz.cc rlz_lib::CHROME_MAC_APP_LIST; rlz_lib 219 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_OMNIBOX = rlz_lib 220 chrome/browser/rlz/rlz.cc rlz_lib::CHROMEOS_OMNIBOX; rlz_lib 222 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_HOME_PAGE = rlz_lib 223 chrome/browser/rlz/rlz.cc rlz_lib::CHROMEOS_HOME_PAGE; rlz_lib 225 chrome/browser/rlz/rlz.cc const rlz_lib::AccessPoint RLZTracker::CHROME_APP_LIST = rlz_lib 226 chrome/browser/rlz/rlz.cc rlz_lib::CHROMEOS_APP_LIST; rlz_lib 348 chrome/browser/rlz/rlz.cc rlz_lib::SetURLRequestContext(context_getter); rlz_lib 381 chrome/browser/rlz/rlz.cc rlz_lib::SupplementaryBranding branding(reactivation_brand_.c_str()); rlz_lib 429 chrome/browser/rlz/rlz.cc rlz_lib::SupplementaryBranding branding(reactivation_brand_.c_str()); rlz_lib 468 chrome/browser/rlz/rlz.cc bool RLZTracker::RecordProductEvent(rlz_lib::Product product, rlz_lib 469 chrome/browser/rlz/rlz.cc rlz_lib::AccessPoint point, rlz_lib 470 chrome/browser/rlz/rlz.cc rlz_lib::Event event_id) { rlz_lib 474 chrome/browser/rlz/rlz.cc bool RLZTracker::RecordProductEventImpl(rlz_lib::Product product, rlz_lib 475 chrome/browser/rlz/rlz.cc rlz_lib::AccessPoint point, rlz_lib 476 chrome/browser/rlz/rlz.cc rlz_lib::Event event_id) { rlz_lib 482 chrome/browser/rlz/rlz.cc bool ret = rlz_lib::RecordProductEvent(product, point, event_id); rlz_lib 486 chrome/browser/rlz/rlz.cc rlz_lib::SupplementaryBranding branding(reactivation_brand_.c_str()); rlz_lib 487 chrome/browser/rlz/rlz.cc ret &= rlz_lib::RecordProductEvent(product, point, event_id); rlz_lib 493 chrome/browser/rlz/rlz.cc bool RLZTracker::ScheduleRecordProductEvent(rlz_lib::Product product, rlz_lib 494 chrome/browser/rlz/rlz.cc rlz_lib::AccessPoint point, rlz_lib 495 chrome/browser/rlz/rlz.cc rlz_lib::Event event_id) { rlz_lib 509 chrome/browser/rlz/rlz.cc void RLZTracker::RecordFirstSearch(rlz_lib::AccessPoint point) { rlz_lib 519 chrome/browser/rlz/rlz.cc if (!RecordProductEvent(rlz_lib::CHROME, point, rlz_lib::FIRST_SEARCH)) rlz_lib 525 chrome/browser/rlz/rlz.cc bool RLZTracker::ScheduleRecordFirstSearch(rlz_lib::AccessPoint point) { rlz_lib 537 chrome/browser/rlz/rlz.cc bool* RLZTracker::GetAccessPointRecord(rlz_lib::AccessPoint point) { rlz_lib 551 chrome/browser/rlz/rlz.cc std::string RLZTracker::GetAccessPointHttpHeader(rlz_lib::AccessPoint point) { rlz_lib 567 chrome/browser/rlz/rlz.cc bool RLZTracker::GetAccessPointRlz(rlz_lib::AccessPoint point, rlz_lib 575 chrome/browser/rlz/rlz.cc bool RLZTracker::GetAccessPointRlzImpl(rlz_lib::AccessPoint point, rlz_lib 593 chrome/browser/rlz/rlz.cc char str_rlz[rlz_lib::kMaxRlzLength + 1]; rlz_lib 594 chrome/browser/rlz/rlz.cc if (!rlz_lib::GetAccessPointRlz(point, str_rlz, rlz_lib::kMaxRlzLength)) rlz_lib 606 chrome/browser/rlz/rlz.cc bool RLZTracker::ScheduleGetAccessPointRlz(rlz_lib::AccessPoint point) { rlz_lib 629 chrome/browser/rlz/rlz.cc rlz_lib::ClearAllProductEvents(rlz_lib::CHROME); rlz_lib 650 chrome/browser/rlz/rlz.cc rlz_lib::SetURLRequestContext(NULL); rlz_lib 58 chrome/browser/rlz/rlz.h static bool RecordProductEvent(rlz_lib::Product product, rlz_lib 59 chrome/browser/rlz/rlz.h rlz_lib::AccessPoint point, rlz_lib 60 chrome/browser/rlz/rlz.h rlz_lib::Event event_id); rlz_lib 63 chrome/browser/rlz/rlz.h static const rlz_lib::AccessPoint CHROME_OMNIBOX; rlz_lib 64 chrome/browser/rlz/rlz.h static const rlz_lib::AccessPoint CHROME_HOME_PAGE; rlz_lib 66 chrome/browser/rlz/rlz.h static const rlz_lib::AccessPoint CHROME_APP_LIST; rlz_lib 74 chrome/browser/rlz/rlz.h static std::string GetAccessPointHttpHeader(rlz_lib::AccessPoint point); rlz_lib 79 chrome/browser/rlz/rlz.h static bool GetAccessPointRlz(rlz_lib::AccessPoint point, rlz_lib 149 chrome/browser/rlz/rlz.h bool RecordProductEventImpl(rlz_lib::Product product, rlz_lib 150 chrome/browser/rlz/rlz.h rlz_lib::AccessPoint point, rlz_lib 151 chrome/browser/rlz/rlz.h rlz_lib::Event event_id); rlz_lib 154 chrome/browser/rlz/rlz.h void RecordFirstSearch(rlz_lib::AccessPoint point); rlz_lib 157 chrome/browser/rlz/rlz.h bool GetAccessPointRlzImpl(rlz_lib::AccessPoint point, base::string16* rlz); rlz_lib 165 chrome/browser/rlz/rlz.h virtual bool ScheduleRecordProductEvent(rlz_lib::Product product, rlz_lib 166 chrome/browser/rlz/rlz.h rlz_lib::AccessPoint point, rlz_lib 167 chrome/browser/rlz/rlz.h rlz_lib::Event event_id); rlz_lib 171 chrome/browser/rlz/rlz.h virtual bool ScheduleRecordFirstSearch(rlz_lib::AccessPoint point); rlz_lib 181 chrome/browser/rlz/rlz.h virtual bool ScheduleGetAccessPointRlz(rlz_lib::AccessPoint point); rlz_lib 200 chrome/browser/rlz/rlz.h bool* GetAccessPointRecord(rlz_lib::AccessPoint point); rlz_lib 225 chrome/browser/rlz/rlz.h std::map<rlz_lib::AccessPoint, base::string16> rlz_cache_; rlz_lib 117 chrome/browser/rlz/rlz_unittest.cc virtual bool ScheduleRecordProductEvent(rlz_lib::Product product, rlz_lib 118 chrome/browser/rlz/rlz_unittest.cc rlz_lib::AccessPoint point, rlz_lib 119 chrome/browser/rlz/rlz_unittest.cc rlz_lib::Event event_id) OVERRIDE { rlz_lib 123 chrome/browser/rlz/rlz_unittest.cc virtual bool ScheduleGetAccessPointRlz(rlz_lib::AccessPoint point) OVERRIDE { rlz_lib 127 chrome/browser/rlz/rlz_unittest.cc virtual bool ScheduleRecordFirstSearch(rlz_lib::AccessPoint point) OVERRIDE { rlz_lib 146 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_OMNIBOX, rlz_lib 148 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_HOME_PAGE, rlz_lib 150 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_APP_LIST, rlz_lib 256 chrome/browser/rlz/rlz_unittest.cc char cgi[rlz_lib::kMaxCgiLength]; rlz_lib 257 chrome/browser/rlz/rlz_unittest.cc GetProductEventsAsCgi(rlz_lib::CHROME, cgi, arraysize(cgi)); rlz_lib 355 chrome/browser/rlz/rlz_unittest.cc RLZTracker::RecordProductEvent(rlz_lib::CHROME, RLZTracker::CHROME_OMNIBOX, rlz_lib 356 chrome/browser/rlz/rlz_unittest.cc rlz_lib::FIRST_SEARCH); rlz_lib 473 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_OMNIBOX, kOmniboxRlzString); rlz_lib 474 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_HOME_PAGE, kHomepageRlzString); rlz_lib 475 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_APP_LIST, kAppListRlzString); rlz_lib 726 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_OMNIBOX, kOmniboxRlzString); rlz_lib 737 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_OMNIBOX, kOmniboxRlzString); rlz_lib 747 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_OMNIBOX, kOmniboxRlzString); rlz_lib 765 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_OMNIBOX, kOmniboxRlzString); rlz_lib 766 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_HOME_PAGE, kHomepageRlzString); rlz_lib 767 chrome/browser/rlz/rlz_unittest.cc rlz_lib::SetAccessPointRlz(RLZTracker::CHROME_APP_LIST, kAppListRlzString); rlz_lib 871 chrome/browser/rlz/rlz_unittest.cc RLZTracker::RecordProductEvent(rlz_lib::CHROME, RLZTracker::CHROME_OMNIBOX, rlz_lib 872 chrome/browser/rlz/rlz_unittest.cc rlz_lib::FIRST_SEARCH); rlz_lib 2168 chrome/browser/search_engines/template_url_service.cc RLZTracker::RecordProductEvent(rlz_lib::CHROME, rlz_lib 2170 chrome/browser/search_engines/template_url_service.cc rlz_lib::SET_TO_GOOGLE); rlz_lib 167 chrome/installer/setup/uninstall.cc const rlz_lib::AccessPoint points[] = {rlz_lib::CHROME_OMNIBOX, rlz_lib 168 chrome/installer/setup/uninstall.cc rlz_lib::CHROME_HOME_PAGE, rlz_lib 169 chrome/installer/setup/uninstall.cc rlz_lib::CHROME_APP_LIST, rlz_lib 170 chrome/installer/setup/uninstall.cc rlz_lib::NO_ACCESS_POINT}; rlz_lib 172 chrome/installer/setup/uninstall.cc rlz_lib::ClearProductState(rlz_lib::CHROME, points); rlz_lib 178 chrome/installer/setup/uninstall.cc rlz_lib::SupplementaryBranding branding(reactivation_brand.c_str()); rlz_lib 179 chrome/installer/setup/uninstall.cc rlz_lib::ClearProductState(rlz_lib::CHROME, points); rlz_lib 19 rlz/chromeos/lib/rlz_value_store_chromeos.h namespace rlz_lib { rlz_lib 9 rlz/examples/rlz_id.cc if (!rlz_lib::GetMachineId(&machine_id)) rlz_lib 23 rlz/lib/assert.h if (rlz_lib::expected_assertion_ != expr_string) { \ rlz_lib 39 rlz/lib/assert.h namespace rlz_lib { rlz_lib 10 rlz/lib/crc32.h namespace rlz_lib { rlz_lib 29 rlz/lib/crc32_unittest.cc rlz_lib::Crc32(reinterpret_cast<const unsigned char*>(kData[i].data), rlz_lib 49 rlz/lib/crc32_unittest.cc EXPECT_TRUE(rlz_lib::Crc32(kData[i].data, &crc)); rlz_lib 10 rlz/lib/crc8.h namespace rlz_lib { rlz_lib 41 rlz/lib/crc8_unittest.cc rlz_lib::Crc8::Generate(bytes, length, &crc); rlz_lib 43 rlz/lib/crc8_unittest.cc rlz_lib::Crc8::Verify(bytes, length, crc, &matches); rlz_lib 48 rlz/lib/crc8_unittest.cc rlz_lib::Crc8::Verify(bytes, length, crc, &matches); rlz_lib 19 rlz/lib/financial_ping.h namespace rlz_lib { rlz_lib 64 rlz/lib/financial_ping_test.cc std::string brand_string = rlz_lib::SupplementaryBranding::GetBrand(); rlz_lib 68 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value")); rlz_lib 74 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_lib 77 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 78 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 79 rlz/lib/financial_ping_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 80 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 81 rlz/lib/financial_ping_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 83 rlz/lib/financial_ping_test.cc rlz_lib::AccessPoint points[] = rlz_lib 84 rlz/lib/financial_ping_test.cc {rlz_lib::IETB_SEARCH_BOX, rlz_lib::NO_ACCESS_POINT, rlz_lib 85 rlz/lib/financial_ping_test.cc rlz_lib::NO_ACCESS_POINT}; rlz_lib 88 rlz/lib/financial_ping_test.cc bool got_machine_id = rlz_lib::GetMachineId(&machine_id); rlz_lib 91 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::FormRequest(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 103 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, "")); rlz_lib 104 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::FormRequest(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 115 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::FormRequest(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 123 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::FormRequest(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 133 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 136 rlz/lib/financial_ping_test.cc char rlz[rlz_lib::kMaxRlzLength + 1]; rlz_lib 137 rlz/lib/financial_ping_test.cc for (int ap = rlz_lib::NO_ACCESS_POINT + 1; rlz_lib 138 rlz/lib/financial_ping_test.cc ap < rlz_lib::LAST_ACCESS_POINT; ap++) { rlz_lib 140 rlz/lib/financial_ping_test.cc rlz_lib::AccessPoint point = static_cast<rlz_lib::AccessPoint>(ap); rlz_lib 141 rlz/lib/financial_ping_test.cc if (rlz_lib::GetAccessPointRlz(point, rlz, arraysize(rlz)) && rlz[0]) { rlz_lib 142 rlz/lib/financial_ping_test.cc rlz_lib::SetAccessPointRlz(point, ""); rlz_lib 146 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_lib 148 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::QUICK_SEARCH_BOX, rlz_lib 150 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::FormRequest(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 158 rlz/lib/financial_ping_test.cc if (!GetAccessPointRlz(rlz_lib::IE_HOME_PAGE, rlz, arraysize(rlz))) { rlz_lib 159 rlz/lib/financial_ping_test.cc points[2] = rlz_lib::IE_HOME_PAGE; rlz_lib 160 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::FormRequest(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 171 rlz/lib/financial_ping_test.cc rlz_lib::AccessPoint points[] = rlz_lib 172 rlz/lib/financial_ping_test.cc {rlz_lib::IETB_SEARCH_BOX, rlz_lib::NO_ACCESS_POINT, rlz_lib 173 rlz/lib/financial_ping_test.cc rlz_lib::NO_ACCESS_POINT}; rlz_lib 176 rlz/lib/financial_ping_test.cc bool ok = rlz_lib::FinancialPing::FormRequest(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 178 rlz/lib/financial_ping_test.cc EXPECT_EQ(rlz_lib::SupplementaryBranding::GetBrand().empty(), ok); rlz_lib 182 rlz/lib/financial_ping_test.cc static void SetLastPingTime(int64 time, rlz_lib::Product product) { rlz_lib 183 rlz/lib/financial_ping_test.cc rlz_lib::ScopedRlzValueStoreLock lock; rlz_lib 184 rlz/lib/financial_ping_test.cc rlz_lib::RlzValueStore* store = lock.GetStore(); rlz_lib 186 rlz/lib/financial_ping_test.cc ASSERT_TRUE(store->HasAccess(rlz_lib::RlzValueStore::kWriteAccess)); rlz_lib 192 rlz/lib/financial_ping_test.cc int64 last_ping = now - rlz_lib::kEventsPingInterval - k1MinuteInterval; rlz_lib 193 rlz/lib/financial_ping_test.cc SetLastPingTime(last_ping, rlz_lib::TOOLBAR_NOTIFIER); rlz_lib 196 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 197 rlz/lib/financial_ping_test.cc EXPECT_FALSE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 201 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 202 rlz/lib/financial_ping_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 203 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 207 rlz/lib/financial_ping_test.cc last_ping = now - rlz_lib::kEventsPingInterval + k1MinuteInterval; rlz_lib 208 rlz/lib/financial_ping_test.cc SetLastPingTime(last_ping, rlz_lib::TOOLBAR_NOTIFIER); rlz_lib 209 rlz/lib/financial_ping_test.cc EXPECT_FALSE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 212 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 215 rlz/lib/financial_ping_test.cc last_ping = now - rlz_lib::kNoEventsPingInterval + k1MinuteInterval; rlz_lib 216 rlz/lib/financial_ping_test.cc SetLastPingTime(last_ping, rlz_lib::TOOLBAR_NOTIFIER); rlz_lib 217 rlz/lib/financial_ping_test.cc EXPECT_FALSE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 221 rlz/lib/financial_ping_test.cc last_ping = now - rlz_lib::kNoEventsPingInterval - k1MinuteInterval; rlz_lib 222 rlz/lib/financial_ping_test.cc SetLastPingTime(last_ping, rlz_lib::TOOLBAR_NOTIFIER); rlz_lib 223 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 228 rlz/lib/financial_ping_test.cc SetLastPingTime(last_ping, rlz_lib::TOOLBAR_NOTIFIER); rlz_lib 229 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 231 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 232 rlz/lib/financial_ping_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 233 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 240 rlz/lib/financial_ping_test.cc if (!rlz_lib::SupplementaryBranding::GetBrand().empty()) rlz_lib 244 rlz/lib/financial_ping_test.cc int64 last_ping = now - rlz_lib::kEventsPingInterval - k1MinuteInterval; rlz_lib 245 rlz/lib/financial_ping_test.cc SetLastPingTime(last_ping, rlz_lib::TOOLBAR_NOTIFIER); rlz_lib 248 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 249 rlz/lib/financial_ping_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 250 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 254 rlz/lib/financial_ping_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 255 rlz/lib/financial_ping_test.cc SetLastPingTime(last_ping, rlz_lib::TOOLBAR_NOTIFIER); rlz_lib 258 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 259 rlz/lib/financial_ping_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 260 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 265 rlz/lib/financial_ping_test.cc SetLastPingTime(last_ping, rlz_lib::TOOLBAR_NOTIFIER); rlz_lib 267 rlz/lib/financial_ping_test.cc EXPECT_FALSE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 271 rlz/lib/financial_ping_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 272 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 279 rlz/lib/financial_ping_test.cc int64 last_ping = now - rlz_lib::kEventsPingInterval + k1MinuteInterval; rlz_lib 280 rlz/lib/financial_ping_test.cc SetLastPingTime(last_ping, rlz_lib::TOOLBAR_NOTIFIER); rlz_lib 283 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 284 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 285 rlz/lib/financial_ping_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 286 rlz/lib/financial_ping_test.cc EXPECT_FALSE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 289 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::ClearLastPingTime( rlz_lib 290 rlz/lib/financial_ping_test.cc rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 291 rlz/lib/financial_ping_test.cc EXPECT_TRUE(rlz_lib::FinancialPing::IsPingTime(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 13 rlz/lib/lib_values.h namespace rlz_lib { rlz_lib 13 rlz/lib/lib_values_unittest.cc rlz_lib::SetExpectedAssertion("GetAccessPointFromName: point is NULL"); rlz_lib 14 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetAccessPointFromName("", NULL)); rlz_lib 15 rlz/lib/lib_values_unittest.cc rlz_lib::SetExpectedAssertion(""); rlz_lib 17 rlz/lib/lib_values_unittest.cc rlz_lib::AccessPoint point; rlz_lib 18 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetAccessPointFromName(NULL, &point)); rlz_lib 19 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::NO_ACCESS_POINT, point); rlz_lib 21 rlz/lib/lib_values_unittest.cc EXPECT_TRUE(rlz_lib::GetAccessPointFromName("", &point)); rlz_lib 22 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::NO_ACCESS_POINT, point); rlz_lib 24 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetAccessPointFromName("i1", &point)); rlz_lib 25 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::NO_ACCESS_POINT, point); rlz_lib 27 rlz/lib/lib_values_unittest.cc EXPECT_TRUE(rlz_lib::GetAccessPointFromName("I7", &point)); rlz_lib 28 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::IE_DEFAULT_SEARCH, point); rlz_lib 30 rlz/lib/lib_values_unittest.cc EXPECT_TRUE(rlz_lib::GetAccessPointFromName("T4", &point)); rlz_lib 31 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::IETB_SEARCH_BOX, point); rlz_lib 33 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetAccessPointFromName("T4 ", &point)); rlz_lib 34 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::NO_ACCESS_POINT, point); rlz_lib 39 rlz/lib/lib_values_unittest.cc rlz_lib::SetExpectedAssertion("GetEventFromName: event is NULL"); rlz_lib 40 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetEventFromName("", NULL)); rlz_lib 41 rlz/lib/lib_values_unittest.cc rlz_lib::SetExpectedAssertion(""); rlz_lib 43 rlz/lib/lib_values_unittest.cc rlz_lib::Event event; rlz_lib 44 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetEventFromName(NULL, &event)); rlz_lib 45 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::INVALID_EVENT, event); rlz_lib 47 rlz/lib/lib_values_unittest.cc EXPECT_TRUE(rlz_lib::GetEventFromName("", &event)); rlz_lib 48 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::INVALID_EVENT, event); rlz_lib 50 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetEventFromName("i1", &event)); rlz_lib 51 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::INVALID_EVENT, event); rlz_lib 53 rlz/lib/lib_values_unittest.cc EXPECT_TRUE(rlz_lib::GetEventFromName("I", &event)); rlz_lib 54 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::INSTALL, event); rlz_lib 56 rlz/lib/lib_values_unittest.cc EXPECT_TRUE(rlz_lib::GetEventFromName("F", &event)); rlz_lib 57 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::FIRST_SEARCH, event); rlz_lib 59 rlz/lib/lib_values_unittest.cc EXPECT_FALSE(rlz_lib::GetEventFromName("F ", &event)); rlz_lib 60 rlz/lib/lib_values_unittest.cc EXPECT_EQ(rlz_lib::INVALID_EVENT, event); rlz_lib 74 rlz/lib/machine_id.cc rlz_lib::Crc8::Generate(id_binary.c_str(), rlz_lib 78 rlz/lib/machine_id.cc return rlz_lib::BytesToString( rlz_lib 12 rlz/lib/machine_id.h namespace rlz_lib { rlz_lib 17 rlz/lib/machine_id_unittest.cc rlz_lib::testing::GetMachineIdImpl(computer_sid, 2651229008, &id); rlz_lib 14 rlz/lib/recursive_cross_process_lock_posix.h namespace rlz_lib { rlz_lib 8 rlz/lib/rlz_enums.h namespace rlz_lib { rlz_lib 23 rlz/lib/rlz_lib.cc rlz_lib::AccessPoint access_point; rlz_lib 24 rlz/lib/rlz_lib.cc rlz_lib::Event event_type; rlz_lib 29 rlz/lib/rlz_lib.cc bool IsAccessPointSupported(rlz_lib::AccessPoint point) { rlz_lib 31 rlz/lib/rlz_lib.cc case rlz_lib::NO_ACCESS_POINT: rlz_lib 32 rlz/lib/rlz_lib.cc case rlz_lib::LAST_ACCESS_POINT: rlz_lib 34 rlz/lib/rlz_lib.cc case rlz_lib::MOBILE_IDLE_SCREEN_BLACKBERRY: rlz_lib 35 rlz/lib/rlz_lib.cc case rlz_lib::MOBILE_IDLE_SCREEN_WINMOB: rlz_lib 36 rlz/lib/rlz_lib.cc case rlz_lib::MOBILE_IDLE_SCREEN_SYMBIAN: rlz_lib 40 rlz/lib/rlz_lib.cc case rlz_lib::IE_DEFAULT_SEARCH: rlz_lib 41 rlz/lib/rlz_lib.cc case rlz_lib::IE_HOME_PAGE: rlz_lib 42 rlz/lib/rlz_lib.cc case rlz_lib::IETB_SEARCH_BOX: rlz_lib 43 rlz/lib/rlz_lib.cc case rlz_lib::QUICK_SEARCH_BOX: rlz_lib 44 rlz/lib/rlz_lib.cc case rlz_lib::GD_DESKBAND: rlz_lib 45 rlz/lib/rlz_lib.cc case rlz_lib::GD_SEARCH_GADGET: rlz_lib 46 rlz/lib/rlz_lib.cc case rlz_lib::GD_WEB_SERVER: rlz_lib 47 rlz/lib/rlz_lib.cc case rlz_lib::GD_OUTLOOK: rlz_lib 48 rlz/lib/rlz_lib.cc case rlz_lib::CHROME_OMNIBOX: rlz_lib 49 rlz/lib/rlz_lib.cc case rlz_lib::CHROME_HOME_PAGE: rlz_lib 88 rlz/lib/rlz_lib.cc for (; raw_rlz[index] != 0 && index < rlz_lib::kMaxRlzLength; ++index) { rlz_lib 117 rlz/lib/rlz_lib.cc event_end_index = events.find(rlz_lib::kEventsCgiSeparator, event_begin); rlz_lib 127 rlz/lib/rlz_lib.cc rlz_lib::AccessPoint point = rlz_lib::NO_ACCESS_POINT; rlz_lib 128 rlz/lib/rlz_lib.cc rlz_lib::Event event = rlz_lib::INVALID_EVENT; rlz_lib 130 rlz/lib/rlz_lib.cc point == rlz_lib::NO_ACCESS_POINT) { rlz_lib 135 rlz/lib/rlz_lib.cc &event) || event == rlz_lib::INVALID_EVENT) { rlz_lib 145 rlz/lib/rlz_lib.cc bool RecordStatefulEvent(rlz_lib::Product product, rlz_lib::AccessPoint point, rlz_lib 146 rlz/lib/rlz_lib.cc rlz_lib::Event event) { rlz_lib 147 rlz/lib/rlz_lib.cc rlz_lib::ScopedRlzValueStoreLock lock; rlz_lib 148 rlz/lib/rlz_lib.cc rlz_lib::RlzValueStore* store = lock.GetStore(); rlz_lib 149 rlz/lib/rlz_lib.cc if (!store || !store->HasAccess(rlz_lib::RlzValueStore::kWriteAccess)) rlz_lib 166 rlz/lib/rlz_lib.cc bool GetProductEventsAsCgiHelper(rlz_lib::Product product, char* cgi, rlz_lib 168 rlz/lib/rlz_lib.cc rlz_lib::RlzValueStore* store) { rlz_lib 171 rlz/lib/rlz_lib.cc base::StringAppendF(&cgi_arg, "%s=", rlz_lib::kEventsCgiVariable); rlz_lib 193 rlz/lib/rlz_lib.cc return cgi_size >= (rlz_lib::kMaxCgiLength + 1); rlz_lib 197 rlz/lib/rlz_lib.cc cgi[index] = rlz_lib::kEventsCgiSeparator; rlz_lib 499 rlz/lib/rlz_lib.cc rlz_lib::ScopedRlzValueStoreLock lock; rlz_lib 500 rlz/lib/rlz_lib.cc rlz_lib::RlzValueStore* store = lock.GetStore(); rlz_lib 501 rlz/lib/rlz_lib.cc if (!store || !store->HasAccess(rlz_lib::RlzValueStore::kWriteAccess)) rlz_lib 53 rlz/lib/rlz_lib.h namespace rlz_lib { rlz_lib 20 rlz/lib/rlz_lib_clear.cc rlz_lib::ScopedRlzValueStoreLock lock; rlz_lib 21 rlz/lib/rlz_lib_clear.cc rlz_lib::RlzValueStore* store = lock.GetStore(); rlz_lib 22 rlz/lib/rlz_lib_clear.cc if (!store || !store->HasAccess(rlz_lib::RlzValueStore::kWriteAccess)) rlz_lib 32 rlz/lib/rlz_lib_clear.cc rlz_lib::ScopedRlzValueStoreLock lock; rlz_lib 33 rlz/lib/rlz_lib_clear.cc rlz_lib::RlzValueStore* store = lock.GetStore(); rlz_lib 34 rlz/lib/rlz_lib_clear.cc if (!store || !store->HasAccess(rlz_lib::RlzValueStore::kWriteAccess)) rlz_lib 41 rlz/lib/rlz_lib_test.cc : public rlz_lib::MachineDealCode rlz_lib 47 rlz/lib/rlz_lib_test.cc return rlz_lib::MachineDealCode::Clear(); rlz_lib 64 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 65 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 66 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 67 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 71 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 72 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 73 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 77 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 78 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 79 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 88 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 89 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 90 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 91 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 94 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 95 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 96 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 101 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 102 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 103 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 104 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 105 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 106 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 109 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 110 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 111 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 116 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 117 rlz/lib/rlz_lib_test.cc rlz_lib::IETB_SEARCH_BOX, rlz_lib::FIRST_SEARCH)); rlz_lib 118 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 128 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 129 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 130 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 131 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 133 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 134 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 136 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 138 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 146 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 147 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 148 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 149 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 153 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 154 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 161 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, "")); rlz_lib 162 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_50, 50)); rlz_lib 165 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, "IeTbRlz")); rlz_lib 166 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_50, 50)); rlz_lib 173 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, "")); rlz_lib 174 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_1, 1)); rlz_lib 177 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, "IeTbRlz")); rlz_lib 178 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_1, 1)); rlz_lib 179 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_50, 50)); rlz_lib 186 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_lib 188 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IE_HOME_PAGE, "")); rlz_lib 191 rlz/lib/rlz_lib_test.cc rlz_lib::AccessPoint points[] = rlz_lib 192 rlz/lib/rlz_lib_test.cc {rlz_lib::IETB_SEARCH_BOX, rlz_lib::NO_ACCESS_POINT, rlz_lib 193 rlz/lib/rlz_lib_test.cc rlz_lib::NO_ACCESS_POINT}; rlz_lib 195 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetPingParams(rlz_lib::TOOLBAR_NOTIFIER, points, rlz_lib 200 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value")); rlz_lib 206 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, "")); rlz_lib 207 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetPingParams(rlz_lib::TOOLBAR_NOTIFIER, points, rlz_lib 211 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_lib 213 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::GetPingParams(rlz_lib::TOOLBAR_NOTIFIER, points, rlz_lib 216 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetPingParams(rlz_lib::TOOLBAR_NOTIFIER, points, rlz_lib 220 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(GetAccessPointRlz(rlz_lib::IE_HOME_PAGE, cgi, 2048)); rlz_lib 221 rlz/lib/rlz_lib_test.cc points[2] = rlz_lib::IE_HOME_PAGE; rlz_lib 222 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetPingParams(rlz_lib::TOOLBAR_NOTIFIER, points, rlz_lib 297 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::IsPingResponseValid(kBadPingResponses[i], NULL)); rlz_lib 300 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::IsPingResponseValid(kGoodPingResponses[i], NULL)); rlz_lib 320 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value2")); rlz_lib 324 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 325 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 326 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 327 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 329 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz( rlz_lib 330 rlz/lib/rlz_lib_test.cc rlz_lib::IETB_SEARCH_BOX, "TbRlzValue")); rlz_lib 332 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ParsePingResponse(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 336 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value")); rlz_lib 338 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ParsePingResponse(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 342 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, value, 50)); rlz_lib 344 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 351 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ParsePingResponse(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 353 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, value, 50)); rlz_lib 358 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ParsePingResponse(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 378 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 381 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 382 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 383 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 384 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 386 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz( rlz_lib 387 rlz/lib/rlz_lib_test.cc rlz_lib::IETB_SEARCH_BOX, "TbRlzValue")); rlz_lib 389 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ParsePingResponse(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 394 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 399 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 400 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 401 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 402 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 405 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 412 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 413 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 414 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 415 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 423 rlz/lib/rlz_lib_test.cc rlz_lib::SetURLRequestContext(context); rlz_lib 426 rlz/lib/rlz_lib_test.cc rlz_lib::SetURLRequestContext(NULL); rlz_lib 449 rlz/lib/rlz_lib_test.cc rlz_lib::SetURLRequestContext(context.get()); rlz_lib 456 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value")); rlz_lib 459 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_lib 462 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 463 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 464 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 465 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 466 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 468 rlz/lib/rlz_lib_test.cc rlz_lib::AccessPoint points[] = rlz_lib 469 rlz/lib/rlz_lib_test.cc {rlz_lib::IETB_SEARCH_BOX, rlz_lib::NO_ACCESS_POINT, rlz_lib 470 rlz/lib/rlz_lib_test.cc rlz_lib::NO_ACCESS_POINT}; rlz_lib 473 rlz/lib/rlz_lib_test.cc rlz_lib::SendFinancialPing(rlz_lib::TOOLBAR_NOTIFIER, points, rlz_lib 481 rlz/lib/rlz_lib_test.cc rlz_lib::SetURLRequestContext(NULL); rlz_lib 486 rlz/lib/rlz_lib_test.cc if (!rlz_lib::SupplementaryBranding::GetBrand().empty()) rlz_lib 502 rlz/lib/rlz_lib_test.cc rlz_lib::SetURLRequestContext(context.get()); rlz_lib 506 rlz/lib/rlz_lib_test.cc rlz_lib::AccessPoint points[] = rlz_lib 507 rlz/lib/rlz_lib_test.cc {rlz_lib::IETB_SEARCH_BOX, rlz_lib::NO_ACCESS_POINT, rlz_lib 508 rlz/lib/rlz_lib_test.cc rlz_lib::NO_ACCESS_POINT}; rlz_lib 509 rlz/lib/rlz_lib_test.cc rlz_lib::test::ResetSendFinancialPingInterrupted(); rlz_lib 510 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::test::WasSendFinancialPingInterrupted()); rlz_lib 515 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::SendFinancialPing(rlz_lib::TOOLBAR_NOTIFIER, points, rlz_lib 519 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::test::WasSendFinancialPingInterrupted()); rlz_lib 520 rlz/lib/rlz_lib_test.cc rlz_lib::test::ResetSendFinancialPingInterrupted(); rlz_lib 527 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_lib 529 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::GD_DESKBAND, rlz_lib 532 rlz/lib/rlz_lib_test.cc rlz_lib::AccessPoint points[] = rlz_lib 533 rlz/lib/rlz_lib_test.cc { rlz_lib::IETB_SEARCH_BOX, rlz_lib::NO_ACCESS_POINT }; rlz_lib 535 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 536 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 537 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 538 rlz/lib/rlz_lib_test.cc rlz_lib::IETB_SEARCH_BOX, rlz_lib::INSTALL)); rlz_lib 540 rlz/lib/rlz_lib_test.cc rlz_lib::AccessPoint points2[] = rlz_lib 541 rlz/lib/rlz_lib_test.cc { rlz_lib::IETB_SEARCH_BOX, rlz_lib 542 rlz/lib/rlz_lib_test.cc rlz_lib::GD_DESKBAND, rlz_lib 543 rlz/lib/rlz_lib_test.cc rlz_lib::NO_ACCESS_POINT }; rlz_lib 546 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetPingParams(rlz_lib::TOOLBAR_NOTIFIER, points2, rlz_lib 550 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 557 rlz/lib/rlz_lib_test.cc rlz_lib::ClearProductState(rlz_lib::TOOLBAR_NOTIFIER, points); rlz_lib 559 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_lib 562 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::GD_DESKBAND, rlz_lib 566 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 619 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, NULL)); rlz_lib 627 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); rlz_lib 631 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); rlz_lib 636 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); rlz_lib 644 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); rlz_lib 651 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); rlz_lib 657 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); rlz_lib 663 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); rlz_lib 670 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); rlz_lib 676 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); rlz_lib 684 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::HasAccess(users_sid, KEY_ALL_ACCESS, dacl)); rlz_lib 691 rlz/lib/rlz_lib_test.cc if (!rlz_lib::SupplementaryBranding::GetBrand().empty()) rlz_lib 698 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 700 rlz/lib/rlz_lib_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 701 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 707 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 708 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 709 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 714 rlz/lib/rlz_lib_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 715 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 716 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::INSTALL)); rlz_lib 717 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 722 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 730 rlz/lib/rlz_lib_test.cc if (!rlz_lib::SupplementaryBranding::GetBrand().empty()) rlz_lib 738 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, "IeTbRlz")); rlz_lib 739 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_50, 50)); rlz_lib 743 rlz/lib/rlz_lib_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 745 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::SetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, "SuppRlz")); rlz_lib 746 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_50, rlz_lib 751 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetAccessPointRlz(rlz_lib::IETB_SEARCH_BOX, rlz_50, 50)); rlz_lib 759 rlz/lib/rlz_lib_test.cc if (!rlz_lib::SupplementaryBranding::GetBrand().empty()) rlz_lib 775 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 777 rlz/lib/rlz_lib_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 778 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ClearAllProductEvents(rlz_lib::TOOLBAR_NOTIFIER)); rlz_lib 783 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 784 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 785 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 786 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 789 rlz/lib/rlz_lib_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 790 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 791 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 792 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 793 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 796 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ParsePingResponse(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 801 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 806 rlz/lib/rlz_lib_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 807 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 813 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 814 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 815 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 816 rlz/lib/rlz_lib_test.cc rlz_lib::IE_HOME_PAGE, rlz_lib::INSTALL)); rlz_lib 819 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 824 rlz/lib/rlz_lib_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 825 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::ParsePingResponse(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 828 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 833 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::GetProductEventsAsCgi(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 857 rlz/lib/rlz_lib_test.cc if (!rlz_lib::SupplementaryBranding::GetBrand().empty()) rlz_lib 860 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 861 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::SET_TO_GOOGLE)); rlz_lib 867 rlz/lib/rlz_lib_test.cc if (!rlz_lib::SupplementaryBranding::GetBrand().empty()) rlz_lib 870 rlz/lib/rlz_lib_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 871 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 872 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::INSTALL)); rlz_lib 878 rlz/lib/rlz_lib_test.cc if (!rlz_lib::SupplementaryBranding::GetBrand().empty()) rlz_lib 889 rlz/lib/rlz_lib_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 899 rlz/lib/rlz_lib_test.cc bool success = rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 900 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::INSTALL); rlz_lib 918 rlz/lib/rlz_lib_test.cc EXPECT_TRUE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 919 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::INSTALL)); rlz_lib 924 rlz/lib/rlz_lib_test.cc if (!rlz_lib::SupplementaryBranding::GetBrand().empty()) rlz_lib 930 rlz/lib/rlz_lib_test.cc int mkdir_result = mkdir(rlz_lib::testing::RlzStoreFilenameStr().c_str(), rlz_lib 934 rlz/lib/rlz_lib_test.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 935 rlz/lib/rlz_lib_test.cc EXPECT_FALSE(rlz_lib::RecordProductEvent(rlz_lib::TOOLBAR_NOTIFIER, rlz_lib 936 rlz/lib/rlz_lib_test.cc rlz_lib::IE_DEFAULT_SEARCH, rlz_lib::INSTALL)); rlz_lib 28 rlz/lib/rlz_value_store.h namespace rlz_lib { rlz_lib 12 rlz/lib/string_utils.h namespace rlz_lib { rlz_lib 17 rlz/lib/string_utils_unittest.cc rlz_lib::SetExpectedAssertion(""); rlz_lib 21 rlz/lib/string_utils_unittest.cc EXPECT_FALSE(rlz_lib::IsAscii(bad_letters[i])); rlz_lib 25 rlz/lib/string_utils_unittest.cc EXPECT_TRUE(rlz_lib::IsAscii(good_letters[i])); rlz_lib 29 rlz/lib/string_utils_unittest.cc rlz_lib::SetExpectedAssertion("HexStringToInteger: text is NULL."); rlz_lib 30 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0, rlz_lib::HexStringToInteger(NULL)); rlz_lib 32 rlz/lib/string_utils_unittest.cc rlz_lib::SetExpectedAssertion(""); rlz_lib 33 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0, rlz_lib::HexStringToInteger("")); rlz_lib 34 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0, rlz_lib::HexStringToInteger(" ")); rlz_lib 35 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0, rlz_lib::HexStringToInteger(" 0x ")); rlz_lib 36 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0, rlz_lib::HexStringToInteger(" 0x0 ")); rlz_lib 37 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0x12345, rlz_lib::HexStringToInteger("12345")); rlz_lib 38 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0xa34Ed0, rlz_lib::HexStringToInteger("a34Ed0")); rlz_lib 39 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0xa34Ed0, rlz_lib::HexStringToInteger("0xa34Ed0")); rlz_lib 40 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0xa34Ed0, rlz_lib::HexStringToInteger(" 0xa34Ed0")); rlz_lib 41 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0xa34Ed0, rlz_lib::HexStringToInteger("0xa34Ed0 ")); rlz_lib 42 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0xa34Ed0, rlz_lib::HexStringToInteger(" 0xa34Ed0 ")); rlz_lib 43 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0xa34Ed0, rlz_lib::HexStringToInteger(" 0x000a34Ed0 ")); rlz_lib 44 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0xa34Ed0, rlz_lib::HexStringToInteger(" 000a34Ed0 ")); rlz_lib 46 rlz/lib/string_utils_unittest.cc rlz_lib::SetExpectedAssertion( rlz_lib 48 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0x12ff, rlz_lib::HexStringToInteger("12ffg")); rlz_lib 49 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0x12f, rlz_lib::HexStringToInteger("12f 121")); rlz_lib 50 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0x12f, rlz_lib::HexStringToInteger("12f 121")); rlz_lib 51 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0, rlz_lib::HexStringToInteger("g12f")); rlz_lib 52 rlz/lib/string_utils_unittest.cc EXPECT_EQ(0, rlz_lib::HexStringToInteger(" 0x0 \n")); rlz_lib 54 rlz/lib/string_utils_unittest.cc rlz_lib::SetExpectedAssertion(""); rlz_lib 61 rlz/lib/string_utils_unittest.cc EXPECT_FALSE(rlz_lib::BytesToString(NULL, 5, &result)); rlz_lib 62 rlz/lib/string_utils_unittest.cc EXPECT_FALSE(rlz_lib::BytesToString(data, 5, NULL)); rlz_lib 63 rlz/lib/string_utils_unittest.cc EXPECT_FALSE(rlz_lib::BytesToString(NULL, 5, NULL)); rlz_lib 65 rlz/lib/string_utils_unittest.cc EXPECT_TRUE(rlz_lib::BytesToString(data, 5, &result)); rlz_lib 67 rlz/lib/string_utils_unittest.cc EXPECT_TRUE(rlz_lib::BytesToString(data, 4, &result)); rlz_lib 15 rlz/mac/lib/rlz_value_store_mac.h namespace rlz_lib { rlz_lib 137 rlz/test/rlz_test_helpers.cc rlz_lib::testing::SetRlzStoreDirectory(temp_dir_.path()); rlz_lib 143 rlz/test/rlz_test_helpers.cc rlz_lib::testing::SetRlzStoreDirectory(base::FilePath()); rlz_lib 150 rlz/test/rlz_test_helpers.cc rlz_lib::CreateMachineState(); rlz_lib 35 rlz/test/rlz_unittest_main.cc rlz_lib::testing::SetRlzStoreDirectory(temp_dir.path()); rlz_lib 37 rlz/test/rlz_unittest_main.cc rlz_lib::SupplementaryBranding branding("TEST"); rlz_lib 11 rlz/win/dll/exports.cc RLZ_DLL_EXPORT bool RecordProductEvent(rlz_lib::Product product, rlz_lib 12 rlz/win/dll/exports.cc rlz_lib::AccessPoint point, rlz_lib 13 rlz/win/dll/exports.cc rlz_lib::Event event_id) { rlz_lib 14 rlz/win/dll/exports.cc return rlz_lib::RecordProductEvent(product, point, event_id); rlz_lib 17 rlz/win/dll/exports.cc RLZ_DLL_EXPORT bool GetProductEventsAsCgi(rlz_lib::Product product, rlz_lib 20 rlz/win/dll/exports.cc return rlz_lib::GetProductEventsAsCgi(product, unescaped_cgi, rlz_lib 23 rlz/win/dll/exports.cc RLZ_DLL_EXPORT bool ClearAllProductEvents(rlz_lib::Product product) { rlz_lib 24 rlz/win/dll/exports.cc return rlz_lib::ClearAllProductEvents(product); rlz_lib 27 rlz/win/dll/exports.cc RLZ_DLL_EXPORT bool ClearProductEvent(rlz_lib::Product product, rlz_lib 28 rlz/win/dll/exports.cc rlz_lib::AccessPoint point, rlz_lib 29 rlz/win/dll/exports.cc rlz_lib::Event event_id) { rlz_lib 30 rlz/win/dll/exports.cc return rlz_lib::ClearProductEvent(product, point, event_id); rlz_lib 33 rlz/win/dll/exports.cc RLZ_DLL_EXPORT bool GetAccessPointRlz(rlz_lib::AccessPoint point, rlz_lib 36 rlz/win/dll/exports.cc return rlz_lib::GetAccessPointRlz(point, rlz, rlz_size); rlz_lib 39 rlz/win/dll/exports.cc RLZ_DLL_EXPORT bool SetAccessPointRlz(rlz_lib::AccessPoint point, rlz_lib 41 rlz/win/dll/exports.cc return rlz_lib::SetAccessPointRlz(point, new_rlz); rlz_lib 45 rlz/win/dll/exports.cc return rlz_lib::CreateMachineState(); rlz_lib 49 rlz/win/dll/exports.cc return rlz_lib::SetMachineDealCode(dcc); rlz_lib 53 rlz/win/dll/exports.cc return rlz_lib::GetMachineDealCodeAsCgi(cgi, cgi_size); rlz_lib 57 rlz/win/dll/exports.cc return rlz_lib::GetMachineDealCode(dcc, dcc_size); rlz_lib 60 rlz/win/dll/exports.cc RLZ_DLL_EXPORT bool GetPingParams(rlz_lib::Product product, rlz_lib 61 rlz/win/dll/exports.cc const rlz_lib::AccessPoint* access_points, rlz_lib 64 rlz/win/dll/exports.cc return rlz_lib::GetPingParams(product, access_points, unescaped_cgi, rlz_lib 68 rlz/win/dll/exports.cc RLZ_DLL_EXPORT bool ParsePingResponse(rlz_lib::Product product, rlz_lib 70 rlz/win/dll/exports.cc return rlz_lib::ParsePingResponse(product, response); rlz_lib 75 rlz/win/dll/exports.cc return rlz_lib::IsPingResponseValid(response, checksum_idx); rlz_lib 79 rlz/win/dll/exports.cc return rlz_lib::SetMachineDealCodeFromPingResponse(response); rlz_lib 82 rlz/win/dll/exports.cc RLZ_DLL_EXPORT bool SendFinancialPing(rlz_lib::Product product, rlz_lib 83 rlz/win/dll/exports.cc const rlz_lib::AccessPoint* access_points, rlz_lib 89 rlz/win/dll/exports.cc return rlz_lib::SendFinancialPing(product, access_points, product_signature, rlz_lib 94 rlz/win/dll/exports.cc rlz_lib::Product product, rlz_lib 95 rlz/win/dll/exports.cc const rlz_lib::AccessPoint* access_points, rlz_lib 101 rlz/win/dll/exports.cc return rlz_lib::SendFinancialPing(product, access_points, product_signature, rlz_lib 106 rlz/win/dll/exports.cc rlz_lib::Product product, const rlz_lib::AccessPoint* access_points) { rlz_lib 107 rlz/win/dll/exports.cc return rlz_lib::ClearProductState(product, access_points); rlz_lib 12 rlz/win/lib/lib_mutex.h namespace rlz_lib { rlz_lib 61 rlz/win/lib/machine_deal.cc for (; raw_dcc[index] != 0 && index < rlz_lib::kMaxDccLength; ++index) { rlz_lib 13 rlz/win/lib/machine_deal.h namespace rlz_lib { rlz_lib 21 rlz/win/lib/machine_deal_test.cc class MachineDealCodeHelper : public rlz_lib::MachineDealCode { rlz_lib 23 rlz/win/lib/machine_deal_test.cc static bool Clear() { return rlz_lib::MachineDealCode::Clear(); } rlz_lib 34 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::CreateMachineState()); rlz_lib 42 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value")); rlz_lib 44 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 47 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value_2")); rlz_lib 49 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 59 rlz/win/lib/machine_deal_test.cc EXPECT_FALSE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 61 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value")); rlz_lib 63 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 66 rlz/win/lib/machine_deal_test.cc EXPECT_FALSE(rlz_lib::MachineDealCode::Get(dcc_2, 2)); rlz_lib 70 rlz/win/lib/machine_deal_test.cc rlz_lib::MachineDealCode::Set("MyDCCode"); rlz_lib 79 rlz/win/lib/machine_deal_test.cc EXPECT_FALSE(rlz_lib::MachineDealCode::SetFromPingResponse( rlz_lib 81 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 88 rlz/win/lib/machine_deal_test.cc EXPECT_FALSE(rlz_lib::MachineDealCode::SetFromPingResponse( rlz_lib 90 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 98 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::SetFromPingResponse( rlz_lib 100 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 107 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::SetFromPingResponse( rlz_lib 109 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 116 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::SetFromPingResponse( rlz_lib 118 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 125 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::SetFromPingResponse( rlz_lib 127 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 135 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::SetFromPingResponse( rlz_lib 137 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Get(dcc_50, 50)); rlz_lib 147 rlz/win/lib/machine_deal_test.cc EXPECT_FALSE(rlz_lib::MachineDealCode::GetAsCgi(cgi_50, 50)); rlz_lib 150 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::Set("dcc_value")); rlz_lib 152 rlz/win/lib/machine_deal_test.cc EXPECT_TRUE(rlz_lib::MachineDealCode::GetAsCgi(cgi_50, 50)); rlz_lib 155 rlz/win/lib/machine_deal_test.cc EXPECT_FALSE(rlz_lib::MachineDealCode::GetAsCgi(cgi_2, 2)); rlz_lib 12 rlz/win/lib/process_info.h namespace rlz_lib { rlz_lib 14 rlz/win/lib/registry_util.h namespace rlz_lib { rlz_lib 83 rlz/win/lib/rlz_value_store_registry.cc const rlz_lib::Product* product, rlz_lib 114 rlz/win/lib/rlz_value_store_registry.cc bool ClearAllProductEventValues(rlz_lib::Product product, const char* key) { rlz_lib 11 rlz/win/lib/rlz_value_store_registry.h namespace rlz_lib {