resource_ 26 cc/layers/ui_resource_layer.cc virtual UIResourceId id() OVERRIDE { return resource_->id(); } resource_ 30 cc/layers/ui_resource_layer.cc resource_ = ScopedUIResource::Create(host, UIResourceBitmap(skbitmap)); resource_ 33 cc/layers/ui_resource_layer.cc scoped_ptr<ScopedUIResource> resource_; resource_ 60 cc/resources/managed_tile_state.cc ManagedTileState::TileVersion::~TileVersion() { DCHECK(!resource_); } resource_ 65 cc/resources/managed_tile_state.cc return !!resource_; resource_ 75 cc/resources/managed_tile_state.cc if (!resource_) resource_ 77 cc/resources/managed_tile_state.cc return resource_->bytes(); resource_ 86 cc/resources/managed_tile_state.cc has_resource |= (tile_versions[mode].resource_.get() != 0); resource_ 54 cc/resources/managed_tile_state.h DCHECK(resource_); resource_ 56 cc/resources/managed_tile_state.h return resource_->id(); resource_ 66 cc/resources/managed_tile_state.h DCHECK(resource_); resource_ 67 cc/resources/managed_tile_state.h return !PlatformColor::SameComponentOrder(resource_->format()); resource_ 74 cc/resources/managed_tile_state.h inline bool has_resource() const { return !!resource_; } resource_ 81 cc/resources/managed_tile_state.h resource_ = resource.Pass(); resource_ 104 cc/resources/managed_tile_state.h scoped_ptr<ScopedResource> resource_; resource_ 222 cc/resources/raster_worker_pool.cc : resource_(resource) { resource_ 66 cc/resources/raster_worker_pool.h const Resource* resource() const { return resource_; } resource_ 77 cc/resources/raster_worker_pool.h const Resource* resource_; resource_ 141 cc/resources/raster_worker_pool_perftest.cc scoped_ptr<ScopedResource> resource_; resource_ 376 cc/resources/resource_provider.cc : resource_(resource), resource_ 380 cc/resources/resource_provider.cc DCHECK(resource_); resource_ 461 cc/resources/resource_provider.h const Resource* resource() const { return resource_; } resource_ 468 cc/resources/resource_provider.h const Resource* resource_; resource_ 940 cc/resources/tile_manager.cc if (mts.tile_versions[mode].resource_) { resource_ 952 cc/resources/tile_manager.cc if (!tile_version.resource_ && !tile_version.raster_task_) { resource_ 978 cc/resources/tile_manager.cc if (tile_version.resource_) resource_ 982 cc/resources/tile_manager.cc DCHECK(!tile_version.resource_); resource_ 1030 cc/resources/tile_manager.cc if (mts.tile_versions[mode].resource_) { resource_ 1031 cc/resources/tile_manager.cc resource_pool_->ReleaseResource(mts.tile_versions[mode].resource_.Pass()); resource_ 1087 cc/resources/tile_manager.cc DCHECK(!tile_version.resource_); resource_ 1257 cc/resources/tile_manager.cc tile_version.resource_ = resource.Pass(); resource_ 160 cc/resources/tile_manager.h tile_version.resource_ = resource_pool_->AcquireResource(gfx::Size(1, 1)); resource_ 84 chrome/browser/extensions/api/execute_code_function.cc file_url_ = net::FilePathToFileURL(resource_.GetFilePath()); resource_ 104 chrome/browser/extensions/api/execute_code_function.cc resource_.relative_path().AsUTF8Unsafe()); resource_ 184 chrome/browser/extensions/api/execute_code_function.cc resource_ = GetExtension()->GetResource(*details_->file); resource_ 186 chrome/browser/extensions/api/execute_code_function.cc if (resource_.extension_root().empty() || resource_.relative_path().empty()) { resource_ 193 chrome/browser/extensions/api/execute_code_function.cc resource_.extension_root(), resource_.relative_path(), resource_ 199 chrome/browser/extensions/api/execute_code_function.cc resource_, base::Bind(&ExecuteCodeFunction::DidLoadFile, this))); resource_ 66 chrome/browser/extensions/api/execute_code_function.h ExtensionResource resource_; resource_ 145 chrome/browser/extensions/api/webview/webview_api.h extensions::ExtensionResource resource_; resource_ 295 chrome/browser/extensions/extension_protocols.cc resource_(extension_id, directory_path, relative_path), resource_ 300 chrome/browser/extensions/extension_protocols.cc resource_.set_follow_symlinks_anywhere(); resource_ 313 chrome/browser/extensions/extension_protocols.cc base::Bind(&ReadResourceFilePathAndLastModifiedTime, resource_, resource_ 339 chrome/browser/extensions/extension_protocols.cc extensions::ExtensionResource resource_; resource_ 83 chrome/browser/safe_browsing/malware_details.cc resource_(resource), resource_ 162 chrome/browser/safe_browsing/malware_details.cc if (IsPublicUrl(resource_.url)) { resource_ 163 chrome/browser/safe_browsing/malware_details.cc report_->set_malware_url(resource_.url.spec()); resource_ 184 chrome/browser/safe_browsing/malware_details.cc if (!resource_.original_url.is_empty() && resource_ 185 chrome/browser/safe_browsing/malware_details.cc resource_.url != resource_.original_url) { resource_ 187 chrome/browser/safe_browsing/malware_details.cc AddUrl(resource_.original_url, GURL(), std::string(), NULL); resource_ 188 chrome/browser/safe_browsing/malware_details.cc AddUrl(resource_.url, resource_.original_url, std::string(), NULL); resource_ 190 chrome/browser/safe_browsing/malware_details.cc AddUrl(resource_.url, GURL(), std::string(), NULL); resource_ 199 chrome/browser/safe_browsing/malware_details.cc if (!resource_.original_url.is_empty()) { resource_ 200 chrome/browser/safe_browsing/malware_details.cc parent_url = resource_.original_url; resource_ 203 chrome/browser/safe_browsing/malware_details.cc for (unsigned int i = 0; i < resource_.redirect_urls.size(); ++i) { resource_ 204 chrome/browser/safe_browsing/malware_details.cc AddUrl(resource_.redirect_urls[i], parent_url, std::string(), NULL); resource_ 205 chrome/browser/safe_browsing/malware_details.cc parent_url = resource_.redirect_urls[i]; resource_ 126 chrome/browser/safe_browsing/malware_details.h const UnsafeResource resource_; resource_ 145 chrome/browser/task_manager/browser_process_resource_provider.cc return &resource_; resource_ 149 chrome/browser/task_manager/browser_process_resource_provider.cc task_manager_->AddResource(&resource_); resource_ 80 chrome/browser/task_manager/browser_process_resource_provider.h BrowserProcessResource resource_; resource_ 8 chrome/installer/mini_installer/pe_resource.cc : resource_(resource), module_(module) { resource_ 12 chrome/installer/mini_installer/pe_resource.cc : resource_(NULL), module_(module) { resource_ 13 chrome/installer/mini_installer/pe_resource.cc resource_ = ::FindResource(module, name, type); resource_ 17 chrome/installer/mini_installer/pe_resource.cc return (NULL != resource_); resource_ 21 chrome/installer/mini_installer/pe_resource.cc return ::SizeofResource(module_, resource_); resource_ 27 chrome/installer/mini_installer/pe_resource.cc HGLOBAL data_handle = ::LoadResource(module_, resource_); resource_ 37 chrome/installer/mini_installer/pe_resource.h HRSRC resource_; resource_ 16 extensions/browser/file_reader.cc : resource_(resource), resource_ 30 extensions/browser/file_reader.cc bool success = base::ReadFileToString(resource_.GetFilePath(), &data); resource_ 41 extensions/browser/file_reader.h extensions::ExtensionResource resource_; resource_ 26 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc if (resource_) resource_ 27 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc ppapi_->ReleaseResource(resource_); resource_ 31 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc if (resource_) resource_ 32 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc ppapi_->ReleaseResource(resource_); resource_ 34 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc resource_ = resource; resource_ 38 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc PP_Resource result = resource_; resource_ 39 native_client_sdk/src/libraries/nacl_io/pepper_interface.cc resource_ = 0; resource_ 140 native_client_sdk/src/libraries/nacl_io/pepper_interface.h PP_Resource pp_resource() const { return resource_; } resource_ 151 native_client_sdk/src/libraries/nacl_io/pepper_interface.h PP_Resource resource_; resource_ 112 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.cc : resource_(resource), resource_ 118 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.cc FakeResourceTracker::~FakeResourceTracker() { delete resource_; } resource_ 61 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.h FakeResource* result = resource_; resource_ 62 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.h resource_ = NULL; resource_ 71 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.h return static_cast<T*>(resource_); resource_ 74 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.h FakeResource* resource() { return resource_; } resource_ 83 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_resource_manager.h FakeResource* resource_; // Owned. resource_ 23 ppapi/proxy/locking_resource_releaser.h : resource_(resource) { resource_ 27 ppapi/proxy/locking_resource_releaser.h PpapiGlobals::Get()->GetResourceTracker()->ReleaseResource(resource_); resource_ 30 ppapi/proxy/locking_resource_releaser.h PP_Resource get() { return resource_; } resource_ 33 ppapi/proxy/locking_resource_releaser.h PP_Resource resource_; resource_ 10 ppapi/proxy/plugin_resource_var.cc : resource_(resource) {} resource_ 13 ppapi/proxy/plugin_resource_var.cc return resource_ ? resource_->pp_resource() : 0; resource_ 28 ppapi/proxy/plugin_resource_var.h scoped_refptr<ppapi::Resource> resource() const { return resource_; } resource_ 35 ppapi/proxy/plugin_resource_var.h scoped_refptr<ppapi::Resource> resource_; resource_ 19 ppapi/proxy/ppapi_command_buffer_proxy.cc : resource_(resource), resource_ 38 ppapi/proxy/ppapi_command_buffer_proxy.cc ppapi::API_ID_PPB_GRAPHICS_3D, resource_, &state, &success))) { resource_ 61 ppapi/proxy/ppapi_command_buffer_proxy.cc ppapi::API_ID_PPB_GRAPHICS_3D, resource_, put_offset); resource_ 78 ppapi/proxy/ppapi_command_buffer_proxy.cc resource_, resource_ 94 ppapi/proxy/ppapi_command_buffer_proxy.cc resource_, resource_ 105 ppapi/proxy/ppapi_command_buffer_proxy.cc ppapi::API_ID_PPB_GRAPHICS_3D, resource_, transfer_buffer_id)); resource_ 122 ppapi/proxy/ppapi_command_buffer_proxy.cc ppapi::API_ID_PPB_GRAPHICS_3D, resource_, size, id, &handle))) { resource_ 147 ppapi/proxy/ppapi_command_buffer_proxy.cc ppapi::API_ID_PPB_GRAPHICS_3D, resource_, id)); resource_ 163 ppapi/proxy/ppapi_command_buffer_proxy.cc ppapi::API_ID_PPB_GRAPHICS_3D, resource_, &sync_point)); resource_ 69 ppapi/proxy/ppapi_command_buffer_proxy.h HostResource resource_; resource_ 87 ppapi/tests/test_websocket.cc if (resource_) resource_ 88 ppapi/tests/test_websocket.cc core_interface_->ReleaseResource(resource_); resource_ 93 ppapi/tests/test_websocket.cc PP_Resource resource_; resource_ 33 ppapi/thunk/enter.cc : resource_(NULL), resource_ 39 ppapi/thunk/enter.cc : resource_(GetResource(resource)), resource_ 45 ppapi/thunk/enter.cc : resource_(GetSingletonResource(instance, resource_id)), resource_ 52 ppapi/thunk/enter.cc : resource_(GetResource(resource)), resource_ 54 ppapi/thunk/enter.cc callback_ = new TrackedCallback(resource_, callback); resource_ 60 ppapi/thunk/enter.cc : resource_(GetSingletonResource(instance, resource_id)), resource_ 62 ppapi/thunk/enter.cc if (!resource_) resource_ 64 ppapi/thunk/enter.cc callback_ = new TrackedCallback(resource_, callback); resource_ 150 ppapi/thunk/enter.h Resource* resource_; resource_ 189 ppapi/thunk/enter.h Resource* resource() { return resource_; } resource_ 193 ppapi/thunk/enter.h if (resource_) resource_ 194 ppapi/thunk/enter.h object_ = resource_->GetAs<ResourceT>(); resource_ 199 ppapi/thunk/enter.h SetStateForResourceError(resource, resource_, object_, report_error); resource_ 268 ppapi/thunk/enter.h if (resource_) resource_ 269 ppapi/thunk/enter.h functions_ = resource_->GetAs<ApiT>(); resource_ 276 ppapi/thunk/enter.h if (resource_) resource_ 277 ppapi/thunk/enter.h functions_ = resource_->GetAs<ApiT>();