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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_browsertest.cc

Issue 23945002: file_manager: Move non-binding code to c/b/chromeos/file_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // Browser test for basic Chrome OS file manager functionality: 5 // Browser test for basic Chrome OS file manager functionality:
6 // - The file list is updated when a file is added externally to the Downloads 6 // - The file list is updated when a file is added externally to the Downloads
7 // folder. 7 // folder.
8 // - Selecting a file and copy-pasting it with the keyboard copies the file. 8 // - Selecting a file and copy-pasting it with the keyboard copies the file.
9 // - Selecting a file and pressing delete deletes it. 9 // - Selecting a file and pressing delete deletes it.
10 10
11 #include <deque> 11 #include <deque>
12 #include <string> 12 #include <string>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/callback.h" 15 #include "base/callback.h"
16 #include "base/file_util.h" 16 #include "base/file_util.h"
17 #include "base/files/file_path.h" 17 #include "base/files/file_path.h"
18 #include "base/json/json_reader.h" 18 #include "base/json/json_reader.h"
19 #include "base/json/json_value_converter.h" 19 #include "base/json/json_value_converter.h"
20 #include "base/strings/string_piece.h" 20 #include "base/strings/string_piece.h"
21 #include "base/time/time.h" 21 #include "base/time/time.h"
22 #include "chrome/browser/chrome_notification_types.h" 22 #include "chrome/browser/chrome_notification_types.h"
23 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 23 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
24 #include "chrome/browser/chromeos/drive/file_system_interface.h" 24 #include "chrome/browser/chromeos/drive/file_system_interface.h"
25 #include "chrome/browser/chromeos/extensions/file_manager/drive_test_util.h" 25 #include "chrome/browser/chromeos/file_manager/drive_test_util.h"
26 #include "chrome/browser/drive/fake_drive_service.h" 26 #include "chrome/browser/drive/fake_drive_service.h"
27 #include "chrome/browser/extensions/api/test/test_api.h" 27 #include "chrome/browser/extensions/api/test/test_api.h"
28 #include "chrome/browser/extensions/component_loader.h" 28 #include "chrome/browser/extensions/component_loader.h"
29 #include "chrome/browser/extensions/extension_apitest.h" 29 #include "chrome/browser/extensions/extension_apitest.h"
30 #include "chrome/browser/extensions/extension_test_message_listener.h" 30 #include "chrome/browser/extensions/extension_test_message_listener.h"
31 #include "chrome/browser/google_apis/gdata_wapi_parser.h" 31 #include "chrome/browser/google_apis/gdata_wapi_parser.h"
32 #include "chrome/browser/google_apis/test_util.h" 32 #include "chrome/browser/google_apis/test_util.h"
33 #include "chrome/browser/profiles/profile.h" 33 #include "chrome/browser/profiles/profile.h"
34 #include "chrome/common/chrome_switches.h" 34 #include "chrome/common/chrome_switches.h"
35 #include "chrome/common/extensions/extension.h" 35 #include "chrome/common/extensions/extension.h"
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 TestParameter(NOT_IN_GUEST_MODE, "shareDirectory"))); 694 TestParameter(NOT_IN_GUEST_MODE, "shareDirectory")));
695 695
696 INSTANTIATE_TEST_CASE_P( 696 INSTANTIATE_TEST_CASE_P(
697 restoreGeometry, 697 restoreGeometry,
698 FileManagerBrowserTest, 698 FileManagerBrowserTest,
699 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "restoreGeometry"), 699 ::testing::Values(TestParameter(NOT_IN_GUEST_MODE, "restoreGeometry"),
700 TestParameter(IN_GUEST_MODE, "restoreGeometry"))); 700 TestParameter(IN_GUEST_MODE, "restoreGeometry")));
701 701
702 } // namespace 702 } // namespace
703 } // namespace file_manager 703 } // namespace file_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698