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

Side by Side Diff: ppapi/tests/test_file_chooser.h

Issue 1613483003: [SafeBrowsing] Alternate extensions should also be subject to block list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment in histograms.xml Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « chrome/test/ppapi/ppapi_filechooser_browsertest.cc ('k') | ppapi/tests/test_file_chooser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_TESTS_TEST_FILE_CHOOSER_H_ 5 #ifndef PPAPI_TESTS_TEST_FILE_CHOOSER_H_
6 #define PPAPI_TESTS_TEST_FILE_CHOOSER_H_ 6 #define PPAPI_TESTS_TEST_FILE_CHOOSER_H_
7 7
8 #include "ppapi/tests/test_case.h" 8 #include "ppapi/tests/test_case.h"
9 9
10 namespace pp { 10 namespace pp {
(...skipping 13 matching lines...) Expand all
24 // |file_ref|. Returns true on success. 24 // |file_ref|. Returns true on success.
25 bool WriteDefaultContentsToFile(const pp::FileRef& file_ref); 25 bool WriteDefaultContentsToFile(const pp::FileRef& file_ref);
26 26
27 std::string TestOpenSimple(); 27 std::string TestOpenSimple();
28 std::string TestOpenCancel(); 28 std::string TestOpenCancel();
29 std::string TestSaveAsSafeDefaultName(); 29 std::string TestSaveAsSafeDefaultName();
30 std::string TestSaveAsUnsafeDefaultName(); 30 std::string TestSaveAsUnsafeDefaultName();
31 std::string TestSaveAsCancel(); 31 std::string TestSaveAsCancel();
32 std::string TestSaveAsDangerousExecutableAllowed(); 32 std::string TestSaveAsDangerousExecutableAllowed();
33 std::string TestSaveAsDangerousExecutableDisallowed(); 33 std::string TestSaveAsDangerousExecutableDisallowed();
34 std::string TestSaveAsDangerousExtensionListDisallowed();
34 }; 35 };
35 36
36 #endif // PPAPI_TESTS_TEST_FILE_CHOOSER_H_ 37 #endif // PPAPI_TESTS_TEST_FILE_CHOOSER_H_
OLDNEW
« no previous file with comments | « chrome/test/ppapi/ppapi_filechooser_browsertest.cc ('k') | ppapi/tests/test_file_chooser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698