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

Unified Diff: mojo/system/mapping_table.h

Issue 231353002: Make mojo_system static and mojo_system_impl a component, never use both (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 6 years, 8 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: mojo/system/mapping_table.h
diff --git a/mojo/system/mapping_table.h b/mojo/system/mapping_table.h
index bbae097afcef96566e47e33847524862108593b4..033b2ee017686cb914e5bad424113e4560d7788d 100644
--- a/mojo/system/mapping_table.h
+++ b/mojo/system/mapping_table.h
@@ -18,20 +18,20 @@
namespace mojo {
namespace system {
-class CoreImpl;
+class Core;
class RawSharedBufferMapping;
// Test-only function (defined/used in embedder/test_embedder.cc). Declared here
// so it can be friended.
namespace internal {
-bool ShutdownCheckNoLeaks(CoreImpl*);
+bool ShutdownCheckNoLeaks(Core*);
}
// This class provides the (global) table of memory mappings (owned by
viettrungluu 2014/04/09 20:26:52 Nit: Re-wrap.
DaveMoore 2014/04/09 22:49:08 Done.
-// |CoreImpl|), which maps mapping base addresses to
+// |Core|), which maps mapping base addresses to
// |RawSharedBuffer::Mapping|s.
//
-// This class is NOT thread-safe; locking is left to |CoreImpl|.
+// This class is NOT thread-safe; locking is left to |Core|.
class MOJO_SYSTEM_IMPL_EXPORT MappingTable {
public:
MappingTable();
@@ -43,7 +43,7 @@ class MOJO_SYSTEM_IMPL_EXPORT MappingTable {
MojoResult RemoveMapping(void* address);
private:
- friend bool internal::ShutdownCheckNoLeaks(CoreImpl*);
+ friend bool internal::ShutdownCheckNoLeaks(Core*);
typedef base::hash_map<uintptr_t, RawSharedBufferMapping*>
AddressToMappingMap;

Powered by Google App Engine
This is Rietveld 408576698