A new measure added to Britain’s Counter-terrorism and Security Bill will require all online service providers, such as Google and Yahoo, to create and retain complete logs of all users activities through computers and mobile phones, nominally so the government can check them for “criminal activity.”