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

Side by Side Diff: chrome/browser/chromeos/gdata/drive_webapps_registry_unittest.cc

Issue 10920091: Move Drive API files to google_apis directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reflect comments Created 8 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) 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 "chrome/browser/chromeos/gdata/drive_webapps_registry.h" 5 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/json/json_file_value_serializer.h" 9 #include "base/json/json_file_value_serializer.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/chromeos/gdata/drive_api_parser.h"
16 #include "chrome/browser/chromeos/gdata/drive_test_util.h" 15 #include "chrome/browser/chromeos/gdata/drive_test_util.h"
17 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" 16 #include "chrome/browser/google_apis/drive_api_parser.h"
17 #include "chrome/browser/google_apis/gdata_wapi_parser.h"
18 #include "chrome/common/chrome_paths.h" 18 #include "chrome/common/chrome_paths.h"
19 #include "content/public/test/test_browser_thread.h" 19 #include "content/public/test/test_browser_thread.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 using base::Value; 22 using base::Value;
23 using base::DictionaryValue; 23 using base::DictionaryValue;
24 using base::ListValue; 24 using base::ListValue;
25 25
26 namespace gdata { 26 namespace gdata {
27 27
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 152
153 // Find by secondary MIME type. 153 // Find by secondary MIME type.
154 ScopedVector<DriveWebAppInfo> secondary_app; 154 ScopedVector<DriveWebAppInfo> secondary_app;
155 web_apps->GetWebAppsForFile(FilePath(), "text/html", &secondary_app); 155 web_apps->GetWebAppsForFile(FilePath(), "text/html", &secondary_app);
156 ASSERT_EQ(1U, secondary_app.size()); 156 ASSERT_EQ(1U, secondary_app.size());
157 VerifyApp(secondary_app, "abcdefghabcdefghabcdefghabcdefgh", "123456788192", 157 VerifyApp(secondary_app, "abcdefghabcdefghabcdefghabcdefgh", "123456788192",
158 "Drive app 1", "", false); 158 "Drive app 1", "", false);
159 } 159 }
160 160
161 } // namespace gdata 161 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_webapps_registry.cc ('k') | chrome/browser/chromeos/gdata/gdata_contacts_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698