| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/task_management/providers/web_contents/web_contents_tag
s_manager.h" | 5 #include "chrome/browser/task_management/providers/web_contents/web_contents_tag
s_manager.h" |
| 6 | 6 |
| 7 #include <algorithm> |
| 8 |
| 7 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
| 8 #include "chrome/browser/task_management/providers/web_contents/web_contents_tas
k_provider.h" | 10 #include "chrome/browser/task_management/providers/web_contents/web_contents_tas
k_provider.h" |
| 9 | 11 |
| 10 namespace task_management { | 12 namespace task_management { |
| 11 | 13 |
| 12 // static | 14 // static |
| 13 WebContentsTagsManager* WebContentsTagsManager::GetInstance() { | 15 WebContentsTagsManager* WebContentsTagsManager::GetInstance() { |
| 14 return base::Singleton<WebContentsTagsManager>::get(); | 16 return base::Singleton<WebContentsTagsManager>::get(); |
| 15 } | 17 } |
| 16 | 18 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 } | 57 } |
| 56 | 58 |
| 57 WebContentsTagsManager::WebContentsTagsManager() | 59 WebContentsTagsManager::WebContentsTagsManager() |
| 58 : provider_(nullptr) { | 60 : provider_(nullptr) { |
| 59 } | 61 } |
| 60 | 62 |
| 61 WebContentsTagsManager::~WebContentsTagsManager() { | 63 WebContentsTagsManager::~WebContentsTagsManager() { |
| 62 } | 64 } |
| 63 | 65 |
| 64 } // namespace task_management | 66 } // namespace task_management |
| OLD | NEW |