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

Side by Side Diff: content/browser/memory/memory_coordinator.cc

Issue 2466883002: Add TabLoaderTest (Closed)
Patch Set: Use ScopedFeatureList Created 4 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/public/test/memory_coordinator_test_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "content/browser/memory/memory_coordinator.h" 5 #include "content/browser/memory/memory_coordinator.h"
6 6
7 #include "base/memory/memory_coordinator_client_registry.h" 7 #include "base/memory/memory_coordinator_client_registry.h"
8 #include "base/metrics/histogram_macros.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "content/public/browser/content_browser_client.h" 9 #include "content/public/browser/content_browser_client.h"
10 #include "content/public/browser/render_process_host.h" 10 #include "content/public/browser/render_process_host.h"
11 #include "content/public/common/content_client.h" 11 #include "content/public/common/content_client.h"
12 #include "content/public/common/content_features.h"
13 12
14 namespace content { 13 namespace content {
15 14
16 // The implementation of MemoryCoordinatorHandle. See memory_coordinator.mojom 15 // The implementation of MemoryCoordinatorHandle. See memory_coordinator.mojom
17 // for the role of this class. 16 // for the role of this class.
18 class MemoryCoordinatorHandleImpl : public mojom::MemoryCoordinatorHandle { 17 class MemoryCoordinatorHandleImpl : public mojom::MemoryCoordinatorHandle {
19 public: 18 public:
20 MemoryCoordinatorHandleImpl(mojom::MemoryCoordinatorHandleRequest request, 19 MemoryCoordinatorHandleImpl(mojom::MemoryCoordinatorHandleRequest request,
21 MemoryCoordinator* coordinator, 20 MemoryCoordinator* coordinator,
22 int render_process_id); 21 int render_process_id);
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 195
197 MemoryCoordinator::ChildInfo::ChildInfo() {} 196 MemoryCoordinator::ChildInfo::ChildInfo() {}
198 197
199 MemoryCoordinator::ChildInfo::ChildInfo(const ChildInfo& rhs) { 198 MemoryCoordinator::ChildInfo::ChildInfo(const ChildInfo& rhs) {
200 // This is a nop, but exists for compatibility with STL containers. 199 // This is a nop, but exists for compatibility with STL containers.
201 } 200 }
202 201
203 MemoryCoordinator::ChildInfo::~ChildInfo() {} 202 MemoryCoordinator::ChildInfo::~ChildInfo() {}
204 203
205 } // namespace content 204 } // namespace content
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/public/test/memory_coordinator_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698