OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/debugger/browser_list_tabcontents_provider.h" | 5 #include "chrome/browser/debugger/browser_list_tabcontents_provider.h" |
6 | 6 |
7 #include "chrome/browser/history/top_sites.h" | 7 #include "chrome/browser/history/top_sites.h" |
8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/browser/ui/browser.h" |
9 #include "chrome/browser/ui/browser_list.h" | 10 #include "chrome/browser/ui/browser_list.h" |
10 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
11 #include "grit/devtools_discovery_page_resources.h" | 12 #include "grit/devtools_discovery_page_resources.h" |
12 #include "net/url_request/url_request_context_getter.h" | 13 #include "net/url_request/url_request_context_getter.h" |
13 #include "ui/base/resource/resource_bundle.h" | 14 #include "ui/base/resource/resource_bundle.h" |
14 | 15 |
15 using content::DevToolsHttpHandlerDelegate; | 16 using content::DevToolsHttpHandlerDelegate; |
16 | 17 |
17 BrowserListTabContentsProvider::BrowserListTabContentsProvider() { | 18 BrowserListTabContentsProvider::BrowserListTabContentsProvider() { |
18 } | 19 } |
(...skipping 26 matching lines...) Expand all Loading... |
45 | 46 |
46 bool BrowserListTabContentsProvider::BundlesFrontendResources() { | 47 bool BrowserListTabContentsProvider::BundlesFrontendResources() { |
47 // We'd like front-end to be served from the WebUI via proxy, hence | 48 // We'd like front-end to be served from the WebUI via proxy, hence |
48 // pretend we don't have it bundled. | 49 // pretend we don't have it bundled. |
49 return false; | 50 return false; |
50 } | 51 } |
51 | 52 |
52 std::string BrowserListTabContentsProvider::GetFrontendResourcesBaseURL() { | 53 std::string BrowserListTabContentsProvider::GetFrontendResourcesBaseURL() { |
53 return "chrome-devtools://devtools/"; | 54 return "chrome-devtools://devtools/"; |
54 } | 55 } |
OLD | NEW |