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

Side by Side Diff: chrome/browser/task_management/providers/web_contents/background_contents_task.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
OLDNEW
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_TASK_H_ 5 #ifndef CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENT S_TASK_H_
6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENT S_TASK_H_ 6 #define CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONTENT S_TASK_H_
7 7
8 #include "base/macros.h"
8 #include "chrome/browser/background/background_contents.h" 9 #include "chrome/browser/background/background_contents.h"
9 #include "chrome/browser/task_management/providers/web_contents/renderer_task.h" 10 #include "chrome/browser/task_management/providers/web_contents/renderer_task.h"
10 11
11 namespace task_management { 12 namespace task_management {
12 13
13 // Defines a RendererTask that represents background |WebContents|. 14 // Defines a RendererTask that represents background |WebContents|.
14 class BackgroundContentsTask : public RendererTask { 15 class BackgroundContentsTask : public RendererTask {
15 public: 16 public:
16 BackgroundContentsTask(const base::string16& title, 17 BackgroundContentsTask(const base::string16& title,
17 BackgroundContents* background_contents); 18 BackgroundContents* background_contents);
18 ~BackgroundContentsTask() override; 19 ~BackgroundContentsTask() override;
19 20
20 // task_management::RendererTask: 21 // task_management::RendererTask:
21 void UpdateTitle() override; 22 void UpdateTitle() override;
22 void UpdateFavicon() override; 23 void UpdateFavicon() override;
23 24
24 private: 25 private:
25 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsTask); 26 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsTask);
26 }; 27 };
27 28
28 } // namespace task_management 29 } // namespace task_management
29 30
30 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONT ENTS_TASK_H_ 31 #endif // CHROME_BROWSER_TASK_MANAGEMENT_PROVIDERS_WEB_CONTENTS_BACKGROUND_CONT ENTS_TASK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698