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

Side by Side Diff: chrome/browser/memory_details.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | Annotate | Revision Log
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/memory_details.h" 5 #include "chrome/browser/memory_details.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_version_info.h" 8 #include "base/file_version_info.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/common/url_constants.h" 14 #include "chrome/common/url_constants.h"
15 #include "chrome/grit/generated_resources.h"
15 #include "components/nacl/common/nacl_process_type.h" 16 #include "components/nacl/common/nacl_process_type.h"
16 #include "content/public/browser/browser_child_process_host_iterator.h" 17 #include "content/public/browser/browser_child_process_host_iterator.h"
17 #include "content/public/browser/browser_thread.h" 18 #include "content/public/browser/browser_thread.h"
18 #include "content/public/browser/child_process_data.h" 19 #include "content/public/browser/child_process_data.h"
19 #include "content/public/browser/navigation_controller.h" 20 #include "content/public/browser/navigation_controller.h"
20 #include "content/public/browser/navigation_entry.h" 21 #include "content/public/browser/navigation_entry.h"
21 #include "content/public/browser/render_process_host.h" 22 #include "content/public/browser/render_process_host.h"
22 #include "content/public/browser/render_view_host.h" 23 #include "content/public/browser/render_view_host.h"
23 #include "content/public/browser/render_widget_host_iterator.h" 24 #include "content/public/browser/render_widget_host_iterator.h"
24 #include "content/public/browser/web_contents.h" 25 #include "content/public/browser/web_contents.h"
25 #include "content/public/common/bindings_policy.h" 26 #include "content/public/common/bindings_policy.h"
26 #include "grit/generated_resources.h"
27 #include "ui/base/l10n/l10n_util.h" 27 #include "ui/base/l10n/l10n_util.h"
28 28
29 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) 29 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
30 #include "content/public/browser/zygote_host_linux.h" 30 #include "content/public/browser/zygote_host_linux.h"
31 #endif 31 #endif
32 32
33 #if defined(ENABLE_EXTENSIONS) 33 #if defined(ENABLE_EXTENSIONS)
34 #include "chrome/browser/extensions/extension_service.h" 34 #include "chrome/browser/extensions/extension_service.h"
35 #include "extensions/browser/extension_system.h" 35 #include "extensions/browser/extension_system.h"
36 #include "extensions/browser/process_manager.h" 36 #include "extensions/browser/process_manager.h"
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 630
631 if (swap_info_.orig_data_size > 0 && swap_info_.compr_data_size > 0) { 631 if (swap_info_.orig_data_size > 0 && swap_info_.compr_data_size > 0) {
632 UMA_HISTOGRAM_CUSTOM_COUNTS( 632 UMA_HISTOGRAM_CUSTOM_COUNTS(
633 "Memory.Swap.CompressionRatio", 633 "Memory.Swap.CompressionRatio",
634 swap_info_.orig_data_size / swap_info_.compr_data_size, 634 swap_info_.orig_data_size / swap_info_.compr_data_size,
635 1, 20, 20); 635 1, 20, 20);
636 } 636 }
637 } 637 }
638 638
639 #endif 639 #endif
OLDNEW
« no previous file with comments | « chrome/browser/media_galleries/media_gallery_context_menu.cc ('k') | chrome/browser/memory_details_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698