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