tests/unittests/frame_unittest.cc
// Extract the origin from the URL.
Extract the origin from the URL.
Extract the origin from the URL .
std::string GetOriginFromMultiNavURL(const std::string& url) {
  const size_t pos = url.rfind("/");
  EXPECT_TRUE(pos > 0U);
  return url.substr(0, pos + 1);
}
std :: string GetOriginFromMultiNavURL ( const std :: string & url ) { const size_t pos = url . rfind ( " " ) ; EXPECT_TRUE ( pos > 0U ) ; return url . substr ( 0 , pos + 1 ) ; }
Extract the origin from the URL.
Extract the origin from the URL .