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 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENT
S_TAG_H_ | 5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENT
S_TAG_H_ |
6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENT
S_TAG_H_ | 6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENT
S_TAG_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/browser/task_management/providers/web_contents/background_conte
nts_task.h" | 9 #include "chrome/browser/task_management/providers/web_contents/background_conte
nts_task.h" |
9 #include "chrome/browser/task_management/providers/web_contents/web_contents_tag
.h" | 10 #include "chrome/browser/task_management/providers/web_contents/web_contents_tag
.h" |
10 | 11 |
11 class BackgroundContents; | 12 class BackgroundContents; |
12 | 13 |
13 namespace task_management { | 14 namespace task_management { |
14 | 15 |
15 // Defines a concrete UserData type for WebContents owned by BackgroundContents | 16 // Defines a concrete UserData type for WebContents owned by BackgroundContents |
16 // service. | 17 // service. |
17 class BackgroundContentsTag : public WebContentsTag { | 18 class BackgroundContentsTag : public WebContentsTag { |
(...skipping 10 matching lines...) Expand all Loading... |
28 | 29 |
29 // The owning BackgroundContents. | 30 // The owning BackgroundContents. |
30 BackgroundContents* background_contents_; | 31 BackgroundContents* background_contents_; |
31 | 32 |
32 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsTag); | 33 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsTag); |
33 }; | 34 }; |
34 | 35 |
35 } // namespace task_management | 36 } // namespace task_management |
36 | 37 |
37 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONT
ENTS_TAG_H_ | 38 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONT
ENTS_TAG_H_ |
OLD | NEW |