/external/chromium_org/content/browser/webui/ |
D | web_ui_data_source_unittest.cc | 65 std::string GetMimeType(const std::string& path) const { in GetMimeType() function in content::WebUIDataSourceTest 66 return source_->GetMimeType(path); in GetMimeType() 132 EXPECT_EQ(GetMimeType(std::string()), html); in TEST_F() 133 EXPECT_EQ(GetMimeType("foo"), html); in TEST_F() 134 EXPECT_EQ(GetMimeType("foo.html"), html); in TEST_F() 135 EXPECT_EQ(GetMimeType(".js"), js); in TEST_F() 136 EXPECT_EQ(GetMimeType("foo.js"), js); in TEST_F() 137 EXPECT_EQ(GetMimeType("js"), html); in TEST_F() 138 EXPECT_EQ(GetMimeType("foojs"), html); in TEST_F() 139 EXPECT_EQ(GetMimeType("foo.jsp"), html); in TEST_F()
|
D | web_ui_data_source_impl.cc | 67 virtual std::string GetMimeType(const std::string& path) const OVERRIDE { in GetMimeType() function in content::WebUIDataSourceImpl::InternalDataSource 68 return parent_->GetMimeType(path); in GetMimeType() 198 std::string WebUIDataSourceImpl::GetMimeType(const std::string& path) const { in GetMimeType() function in content::WebUIDataSourceImpl
|
D | shared_resources_data_source.h | 24 virtual std::string GetMimeType(const std::string&) const OVERRIDE;
|
/external/chromium_org/chrome/browser/search/ |
D | iframe_source_unittest.cc | 33 using IframeSource::GetMimeType; 180 TEST_F(IframeSourceTest, GetMimeType) { in TEST_F() argument 182 EXPECT_EQ("text/html", source()->GetMimeType("foo.html")); in TEST_F() 183 EXPECT_EQ("application/javascript", source()->GetMimeType("foo.js")); in TEST_F() 184 EXPECT_EQ("text/css", source()->GetMimeType("foo.css")); in TEST_F() 185 EXPECT_EQ("image/png", source()->GetMimeType("foo.png")); in TEST_F() 186 EXPECT_EQ("", source()->GetMimeType("bogus")); in TEST_F()
|
D | iframe_source.h | 20 virtual std::string GetMimeType(
|
D | local_ntp_source.h | 30 virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
|
/external/chromium_org/components/dom_distiller/content/ |
D | dom_distiller_viewer_source_unittest.cc | 25 EXPECT_EQ("text/css", source_.get()->GetMimeType(kViewerCssPath)); in TEST_F() 26 EXPECT_EQ("text/html", source_.get()->GetMimeType("anythingelse")); in TEST_F() 27 EXPECT_EQ("text/javascript", source_.get()->GetMimeType(kViewerJsPath)); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | theme_source_unittest.cc | 61 EXPECT_EQ(theme_source()->GetMimeType("css/new_tab_theme.css"), "text/css"); in TEST_F() 62 EXPECT_EQ(theme_source()->GetMimeType("css/new_tab_theme.css?foo"), in TEST_F() 64 EXPECT_EQ(theme_source()->GetMimeType("WRONGURL"), "image/png"); in TEST_F()
|
/external/chromium_org/content/browser/net/ |
D | view_http_cache_job_factory.cc | 39 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE{ in GetMimeType() function in content::__anon6dfce2940111::ViewHttpCacheJob 40 return core_->GetMimeType(mime_type); in GetMimeType() 65 bool GetMimeType(std::string* mime_type) const; 155 bool ViewHttpCacheJob::Core::GetMimeType(std::string* mime_type) const { in GetMimeType() function in content::__anon6dfce2940111::ViewHttpCacheJob::Core
|
/external/chromium_org/chrome/browser/download/ |
D | download_crx_util.cc | 108 download_item.GetMimeType())) { in OpenChromeExtension() 124 if (download_item.GetMimeType() == extensions::Extension::kMimeType || in IsExtensionDownload() 126 download_item.GetMimeType())) { in IsExtensionDownload()
|
/external/chromium_org/android_webview/browser/ |
D | aw_web_resource_response.cc | 35 virtual bool GetMimeType(JNIEnv* env, in GetMimeType() function in android_webview::__anon6212a6e80111::StreamReaderJobDelegateImpl 39 return aw_web_resource_response_->GetMimeType(env, mime_type); in GetMimeType()
|
/external/chromium_org/content/test/net/ |
D | url_request_abort_on_end_job.cc | 83 bool URLRequestAbortOnEndJob::GetMimeType(std::string* mime_type) const { in GetMimeType() function in content::URLRequestAbortOnEndJob 86 return info.headers.get() && info.headers->GetMimeType(mime_type); in GetMimeType()
|
D | url_request_mock_http_job.cc | 169 bool URLRequestMockHTTPJob::GetMimeType(std::string* mime_type) const { in GetMimeType() function in content::URLRequestMockHTTPJob 172 return info.headers.get() && info.headers->GetMimeType(mime_type); in GetMimeType()
|
D | url_request_abort_on_end_job.h | 30 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
|
/external/chromium_org/android_webview/browser/net/ |
D | android_stream_reader_url_request_job.h | 58 virtual bool GetMimeType( 89 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
|
D | android_stream_reader_url_request_job.cc | 264 bool AndroidStreamReaderURLRequestJob::GetMimeType( in GetMimeType() function in AndroidStreamReaderURLRequestJob 277 return delegate_->GetMimeType( in GetMimeType() 319 if (GetMimeType(&mime_type) && !mime_type.empty()) { in HeadersComplete()
|
/external/chromium_org/net/url_request/ |
D | url_request_about_job.h | 22 virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
|
D | url_request_about_job.cc | 31 bool URLRequestAboutJob::GetMimeType(std::string* mime_type) const { in GetMimeType() function in net::URLRequestAboutJob
|
/external/chromium_org/content/public/browser/ |
D | stream_handle.h | 30 virtual const std::string& GetMimeType() = 0;
|
/external/chromium_org/content/browser/streams/ |
D | stream_url_request_job.cc | 133 bool StreamURLRequestJob::GetMimeType(std::string* mime_type) const { in GetMimeType() function in content::StreamURLRequestJob 138 return response_info_->headers->GetMimeType(mime_type); in GetMimeType()
|
/external/chromium_org/content/browser/service_worker/ |
D | service_worker_read_from_cache_job.cc | 78 bool ServiceWorkerReadFromCacheJob::GetMimeType(std::string* mime_type) const { in GetMimeType() function in content::ServiceWorkerReadFromCacheJob 81 return http_info()->headers->GetMimeType(mime_type); in GetMimeType()
|
/external/chromium_org/content/shell/browser/ |
D | shell_download_manager_delegate.cc | 92 download->GetMimeType(), in DetermineDownloadTarget() 103 item->GetMimeType() == "text/html") { in ShouldOpenDownload()
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
D | user_image_source.h | 36 virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
|
/external/chromium_org/net/filter/ |
D | mock_filter_context.cc | 21 bool MockFilterContext::GetMimeType(std::string* mime_type) const { in GetMimeType() function in net::MockFilterContext
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
D | screenlock_icon_source.h | 29 virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
|