Chromium Code Reviews| Index: chrome/browser/extensions/gtalk_extension_browsertest.cc |
| diff --git a/chrome/browser/extensions/gtalk_extension_browsertest.cc b/chrome/browser/extensions/gtalk_extension_browsertest.cc |
| index 8217b48c144929036a1ede3a5fcadac6b95e3b53..88024e7b7e201c93e9713a142b290845a3dff540 100644 |
| --- a/chrome/browser/extensions/gtalk_extension_browsertest.cc |
| +++ b/chrome/browser/extensions/gtalk_extension_browsertest.cc |
| @@ -14,10 +14,12 @@ |
| #include "content/public/browser/render_process_host.h" |
| #include "content/public/browser/render_view_host.h" |
| #include "content/public/browser/web_contents.h" |
| +#include "content/public/common/url_constants.h" |
| #include "content/public/test/browser_test_utils.h" |
| #include "extensions/browser/extension_host.h" |
| #include "extensions/browser/extension_system.h" |
| #include "extensions/browser/process_manager.h" |
| +#include "extensions/common/constants.h" |
| using content::RenderViewHost; |
| using content::WebContents; |
| @@ -50,7 +52,9 @@ class GtalkExtensionTest : public ExtensionBrowserTest { |
| } |
| std::string GetViewerUrl() { |
| - return "chrome-extension://" + GetInstalledExtensionId() + "/viewer.html"; |
| + return std::string(extensions::kExtensionScheme) + |
| + content::kStandardSchemeSeparator + |
|
Yoyo Zhou
2014/05/30 15:12:02
Line continuations should be 4 spaces.
Please run
|
| + GetInstalledExtensionId() + "/viewer.html"; |
| } |
| std::vector<RenderViewHost*> GetMatchingViews(const std::string& url_query) { |