Apply missing kParentDirectory check

BUG=161564

Review URL: https://chromiumcodereview.appspot.com/11414046

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168692 0039d316-1c4b-4281-b951-d872f2087c98
  virtual void SetUp() {
    old_browser_client_ = GetContentClient()->browser();
    GetContentClient()->set_browser_for_testing(&test_browser_client_);

    test_browser_client_.AddScheme("chrome");
  }

  virtual void SetUp() {
    old_browser_client_ = GetContentClient()->browser();
    GetContentClient()->set_browser_for_testing(&test_browser_client_);

    test_browser_client_.AddScheme("chrome");
  }
