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

Side by Side Diff: chrome/browser/chromeos/status/memory_menu_button.cc

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Note: this file is used by Aura on all linux platforms, even though it 5 // Note: this file is used by Aura on all linux platforms, even though it
6 // is currently in a chromeos specific location. 6 // is currently in a chromeos specific location.
7 7
8 #include "chrome/browser/chromeos/status/memory_menu_button.h" 8 #include "chrome/browser/chromeos/status/memory_menu_button.h"
9 9
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/process_util.h" // GetSystemMemoryInfo 12 #include "base/process_util.h" // GetSystemMemoryInfo
13 #include "base/stringprintf.h" 13 #include "base/stringprintf.h"
14 #include "base/threading/thread_restrictions.h" 14 #include "base/threading/thread_restrictions.h"
15 #include "chrome/browser/chromeos/view_ids.h" 15 #include "chrome/browser/chromeos/view_ids.h"
16 #include "chrome/browser/memory_purger.h" 16 #include "chrome/browser/memory_purger.h"
17 #include "chrome/common/render_messages.h" 17 #include "chrome/common/render_messages.h"
18 #include "content/browser/renderer_host/render_process_host.h"
19 #include "content/public/browser/notification_service.h" 18 #include "content/public/browser/notification_service.h"
20 #include "content/public/browser/notification_types.h" 19 #include "content/public/browser/notification_types.h"
20 #include "content/public/browser/render_process_host.h"
21 #include "grit/generated_resources.h" 21 #include "grit/generated_resources.h"
22 #include "ui/base/l10n/l10n_util.h" 22 #include "ui/base/l10n/l10n_util.h"
23 #include "views/controls/menu/menu_runner.h" 23 #include "views/controls/menu/menu_runner.h"
24 #include "views/widget/widget.h" 24 #include "views/widget/widget.h"
25 25
26 #if defined(USE_TCMALLOC) 26 #if defined(USE_TCMALLOC)
27 #include "third_party/tcmalloc/chromium/src/google/heap-profiler.h" 27 #include "third_party/tcmalloc/chromium/src/google/heap-profiler.h"
28 #endif 28 #endif
29 29
30 #if defined(USE_TCMALLOC) 30 #if defined(USE_TCMALLOC)
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // A kill is a very interesting event, so repaint immediately. 271 // A kill is a very interesting event, so repaint immediately.
272 UpdateText(); 272 UpdateText();
273 } 273 }
274 break; 274 break;
275 } 275 }
276 default: 276 default:
277 NOTREACHED() << L"Received unexpected notification"; 277 NOTREACHED() << L"Received unexpected notification";
278 break; 278 break;
279 } 279 }
280 } 280 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698