MemoryInfoProvider 14 chrome/browser/extensions/api/system_memory/memory_info_provider.cc base::LazyInstance<scoped_refptr<MemoryInfoProvider> > MemoryInfoProvider 15 chrome/browser/extensions/api/system_memory/memory_info_provider.cc MemoryInfoProvider::provider_ = LAZY_INSTANCE_INITIALIZER; MemoryInfoProvider 17 chrome/browser/extensions/api/system_memory/memory_info_provider.cc MemoryInfoProvider::MemoryInfoProvider() {} MemoryInfoProvider 19 chrome/browser/extensions/api/system_memory/memory_info_provider.cc MemoryInfoProvider::~MemoryInfoProvider() {} MemoryInfoProvider 21 chrome/browser/extensions/api/system_memory/memory_info_provider.cc const MemoryInfo& MemoryInfoProvider::memory_info() const { MemoryInfoProvider 25 chrome/browser/extensions/api/system_memory/memory_info_provider.cc void MemoryInfoProvider::InitializeForTesting( MemoryInfoProvider 26 chrome/browser/extensions/api/system_memory/memory_info_provider.cc scoped_refptr<MemoryInfoProvider> provider) { MemoryInfoProvider 31 chrome/browser/extensions/api/system_memory/memory_info_provider.cc bool MemoryInfoProvider::QueryInfo() { MemoryInfoProvider 39 chrome/browser/extensions/api/system_memory/memory_info_provider.cc MemoryInfoProvider* MemoryInfoProvider::Get() { MemoryInfoProvider 41 chrome/browser/extensions/api/system_memory/memory_info_provider.cc provider_.Get() = new MemoryInfoProvider(); MemoryInfoProvider 14 chrome/browser/extensions/api/system_memory/memory_info_provider.h class MemoryInfoProvider : public SystemInfoProvider { MemoryInfoProvider 16 chrome/browser/extensions/api/system_memory/memory_info_provider.h static MemoryInfoProvider* Get(); MemoryInfoProvider 20 chrome/browser/extensions/api/system_memory/memory_info_provider.h static void InitializeForTesting(scoped_refptr<MemoryInfoProvider> provider); MemoryInfoProvider 25 chrome/browser/extensions/api/system_memory/memory_info_provider.h MemoryInfoProvider(); MemoryInfoProvider 26 chrome/browser/extensions/api/system_memory/memory_info_provider.h virtual ~MemoryInfoProvider(); MemoryInfoProvider 40 chrome/browser/extensions/api/system_memory/memory_info_provider.h static base::LazyInstance<scoped_refptr<MemoryInfoProvider> > provider_; MemoryInfoProvider 42 chrome/browser/extensions/api/system_memory/memory_info_provider.h DISALLOW_COPY_AND_ASSIGN(MemoryInfoProvider); MemoryInfoProvider 18 chrome/browser/extensions/api/system_memory/system_memory_api.cc MemoryInfoProvider::Get()->StartQueryInfo( MemoryInfoProvider 25 chrome/browser/extensions/api/system_memory/system_memory_api.cc SetResult(MemoryInfoProvider::Get()->memory_info().ToValue().release()); MemoryInfoProvider 13 chrome/browser/extensions/api/system_memory/system_memory_apitest.cc class MockMemoryInfoProviderImpl : public MemoryInfoProvider { MemoryInfoProvider 41 chrome/browser/extensions/api/system_memory/system_memory_apitest.cc scoped_refptr<MemoryInfoProvider> provider = new MockMemoryInfoProviderImpl(); MemoryInfoProvider 43 chrome/browser/extensions/api/system_memory/system_memory_apitest.cc MemoryInfoProvider::InitializeForTesting(provider);