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

Unified Diff: chrome/browser/ui/webui/test_files_request_filter.h

Issue 1536553002: Remove InlineLoginHandlerChromeOS and exclude InlineLoginUI from CrOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflicts resolved. Created 4 years, 11 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: chrome/browser/ui/webui/test_files_request_filter.h
diff --git a/chrome/browser/ui/webui/test_files_request_filter.h b/chrome/browser/ui/webui/test_files_request_filter.h
new file mode 100644
index 0000000000000000000000000000000000000000..e6e49bd7e6c36930f542cc5066d335a2c4519ea9
--- /dev/null
+++ b/chrome/browser/ui/webui/test_files_request_filter.h
@@ -0,0 +1,19 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_WEBUI_TEST_FILES_REQUEST_FILTER_H_
+#define CHROME_BROWSER_UI_WEBUI_TEST_FILES_REQUEST_FILTER_H_
+
+#include "content/public/browser/web_ui_data_source.h"
+
+namespace test {
+
+// Returns a callback to be used as a filter in WebUIDataSource.
+// The filter responds with a content of "%DIR_TEST_DATA%/webui/<filename>" if
+// request path has "/test/<filename>" format.
+content::WebUIDataSource::HandleRequestCallback GetTestFilesRequestFilter();
+
+} // namespace test
+
+#endif // CHROME_BROWSER_UI_WEBUI_TEST_FILES_REQUEST_FILTER_H_
« no previous file with comments | « chrome/browser/ui/webui/signin/login_ui_test_utils.cc ('k') | chrome/browser/ui/webui/test_files_request_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698