public void registerPrerenderRequest(String url){
  mUrl=url;
  long now=System.currentTimeMillis();
  mScore=Math.min(MAX_SCORE,mScore - 1 + ALPHA * (now - mLastPrerenderRequestMs));
  mLastPrerenderRequestMs=now;
  SharedPreferences.Editor editor=mSharedPreferences.edit();
  editor.putLong(LAST_REQUEST + mUid,mLastPrerenderRequestMs);
  updateBan(editor);
  editor.apply();
}

public void registerPrerenderRequest ( String url ) { mUrl = url ; long now = System . currentTimeMillis ( ) ; mScore = Math . min ( MAX_SCORE , mScore - 1 + ALPHA * ( now - mLastPrerenderRequestMs ) ) ; mLastPrerenderRequestMs = now ; SharedPreferences . Editor editor = mSharedPreferences . edit ( ) ; editor . putLong ( LAST_REQUEST + mUid , mLastPrerenderRequestMs ) ; updateBan ( editor ) ; editor . apply ( ) ; }
records that a prerender request was made for a given url .
