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

Unified Diff: chrome/browser/task_manager/task_manager_resource_util.h

Issue 15196003: Create task_manager namespace and wrap classes related to TaskManager with it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/task_manager/task_manager_resource_util.h
diff --git a/chrome/browser/task_manager/task_manager_resource_util.h b/chrome/browser/task_manager/task_manager_resource_util.h
deleted file mode 100644
index 6918b507831a5c8e8175b0742c85894b0364e2f4..0000000000000000000000000000000000000000
--- a/chrome/browser/task_manager/task_manager_resource_util.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_UTIL_H_
-#define CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_UTIL_H_
-
-#include "base/basictypes.h"
-#include "base/string16.h"
-
-class Profile;
-
-namespace content {
-class WebContents;
-}
-
-class TaskManagerResourceUtil {
- public:
- // Returns the appropriate message prefix ID for tabs and extensions,
- // reflecting whether they are apps or in incognito mode.
- static int GetMessagePrefixID(bool is_app,
- bool is_extension,
- bool is_incognito,
- bool is_prerender,
- bool is_instant_overlay,
- bool is_background);
-
- // Returns the name of profle from InfoCache.
- static string16 GetProfileNameFromInfoCache(Profile* profile);
-
- // Returns the title from web contents.
- static string16 GetTitleFromWebContents(content::WebContents* web_contents);
-
- private:
- DISALLOW_IMPLICIT_CONSTRUCTORS(TaskManagerResourceUtil);
-};
-
-#endif // CHROME_BROWSER_TASK_MANAGER_TASK_MANAGER_RESOURCE_UTIL_H_
« no previous file with comments | « chrome/browser/task_manager/task_manager_render_resource.cc ('k') | chrome/browser/task_manager/task_manager_resource_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698