blob: 074f5507fd0484cfcb2feae811c3ca587345a62b [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_UTIL_H_
#define CHROME_BROWSER_TAB_CONTENTS_TAB_UTIL_H_
#include "content/public/browser/site_instance.h"
#include "url/gurl.h"
class Profile;
namespace tab_util {
// Returns a new SiteInstance for WebUI and app URLs. Returns NULL otherwise.
scoped_refptr<content::SiteInstance> GetSiteInstanceForNewTab(Profile* profile,
GURL url);
} // namespace tab_util
#endif // CHROME_BROWSER_TAB_CONTENTS_TAB_UTIL_H_