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

Side by Side Diff: chrome/browser/task_manager/task_manager_resource_providers.cc

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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 (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/task_manager/task_manager_resource_providers.h" 5 #include "chrome/browser/task_manager/task_manager_resource_providers.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #include "skia/ext/skia_utils_mac.h" 65 #include "skia/ext/skia_utils_mac.h"
66 #endif 66 #endif
67 #if defined(OS_WIN) 67 #if defined(OS_WIN)
68 #include "chrome/browser/app_icon_win.h" 68 #include "chrome/browser/app_icon_win.h"
69 #include "ui/gfx/icon_util.h" 69 #include "ui/gfx/icon_util.h"
70 #endif // defined(OS_WIN) 70 #endif // defined(OS_WIN)
71 71
72 using content::BrowserChildProcessHostIterator; 72 using content::BrowserChildProcessHostIterator;
73 using content::BrowserThread; 73 using content::BrowserThread;
74 using content::WebContents; 74 using content::WebContents;
75 using extensions::Extension;
75 76
76 namespace { 77 namespace {
77 78
78 // Returns the appropriate message prefix ID for tabs and extensions, 79 // Returns the appropriate message prefix ID for tabs and extensions,
79 // reflecting whether they are apps or in incognito mode. 80 // reflecting whether they are apps or in incognito mode.
80 int GetMessagePrefixID(bool is_app, 81 int GetMessagePrefixID(bool is_app,
81 bool is_extension, 82 bool is_extension,
82 bool is_incognito, 83 bool is_incognito,
83 bool is_prerender, 84 bool is_prerender,
84 bool is_instant_preview) { 85 bool is_instant_preview) {
(...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after
1504 1505
1505 return &resource_; 1506 return &resource_;
1506 } 1507 }
1507 1508
1508 void TaskManagerBrowserProcessResourceProvider::StartUpdating() { 1509 void TaskManagerBrowserProcessResourceProvider::StartUpdating() {
1509 task_manager_->AddResource(&resource_); 1510 task_manager_->AddResource(&resource_);
1510 } 1511 }
1511 1512
1512 void TaskManagerBrowserProcessResourceProvider::StopUpdating() { 1513 void TaskManagerBrowserProcessResourceProvider::StopUpdating() {
1513 } 1514 }
OLDNEW
« no previous file with comments | « chrome/browser/task_manager/task_manager_resource_providers.h ('k') | chrome/browser/themes/browser_theme_pack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698