Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: chrome/browser/debugger/browser_list_tabcontents_provider.cc

Issue 10391158: Moves methods for finding browsers to browser_finder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include fixs Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698