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

Side by Side Diff: chrome/browser/extensions/api/file_system/file_system_api_unittest.cc

Issue 12378016: chrome: Update include paths of string_split.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/files/file_path.h" 6 #include "base/files/file_path.h"
7 #include "base/string_split.h" 7 #include "base/strings/string_split.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/extensions/api/file_system/file_system_api.h" 9 #include "chrome/browser/extensions/api/file_system/file_system_api.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "ui/shell_dialogs/select_file_dialog.h" 11 #include "ui/shell_dialogs/select_file_dialog.h"
12 12
13 using extensions::FileSystemChooseEntryFunction; 13 using extensions::FileSystemChooseEntryFunction;
14 using extensions::api::file_system::AcceptOption; 14 using extensions::api::file_system::AcceptOption;
15 15
16 namespace { 16 namespace {
17 17
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // TODO(thorogood): Fix this test on Windows. 178 // TODO(thorogood): Fix this test on Windows.
179 // Filter out absolute paths with no basename. 179 // Filter out absolute paths with no basename.
180 opt_name = std::string("/"); 180 opt_name = std::string("/");
181 FileSystemChooseEntryFunction::BuildSuggestion(&opt_name, &suggested_name, 181 FileSystemChooseEntryFunction::BuildSuggestion(&opt_name, &suggested_name,
182 &suggested_extension); 182 &suggested_extension);
183 EXPECT_FALSE(suggested_name.IsAbsolute()); 183 EXPECT_FALSE(suggested_name.IsAbsolute());
184 EXPECT_TRUE(suggested_name.MaybeAsASCII().empty()); 184 EXPECT_TRUE(suggested_name.MaybeAsASCII().empty());
185 EXPECT_TRUE(suggested_extension.empty()); 185 EXPECT_TRUE(suggested_extension.empty());
186 #endif 186 #endif
187 } 187 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/downloads/downloads_api.cc ('k') | chrome/browser/extensions/api/i18n/i18n_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698