| 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/devtools/browser_list_tabcontents_provider.h" | 5 #include "chrome/browser/devtools/browser_list_tabcontents_provider.h" |
| 6 | 6 |
| 7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
| 8 #include "chrome/browser/history/top_sites.h" | 8 #include "chrome/browser/history/top_sites.h" |
| 9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
| 10 #include "chrome/browser/profiles/profile_manager.h" | 10 #include "chrome/browser/profiles/profile_manager.h" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 } | 100 } |
| 101 | 101 |
| 102 content::DevToolsHttpHandlerDelegate::TargetType | 102 content::DevToolsHttpHandlerDelegate::TargetType |
| 103 BrowserListTabContentsProvider::GetTargetType(content::RenderViewHost* rvh) { | 103 BrowserListTabContentsProvider::GetTargetType(content::RenderViewHost* rvh) { |
| 104 for (TabContentsIterator it; !it.done(); it.Next()) | 104 for (TabContentsIterator it; !it.done(); it.Next()) |
| 105 if (rvh == it->GetRenderViewHost()) | 105 if (rvh == it->GetRenderViewHost()) |
| 106 return kTargetTypeTab; | 106 return kTargetTypeTab; |
| 107 | 107 |
| 108 return kTargetTypeOther; | 108 return kTargetTypeOther; |
| 109 } | 109 } |
| 110 |
| 111 std::string BrowserListTabContentsProvider::GetViewDescription( |
| 112 content::RenderViewHost*) { |
| 113 return ""; |
| 114 } |
| OLD | NEW |