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

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: 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 "base/file_path.h" 5 #include "base/file_path.h"
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/json/json_file_value_serializer.h" 7 #include "base/json/json_file_value_serializer.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/chromeos/gdata/drive_api_parser.h"
14 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h" 13 #include "chrome/browser/chromeos/gdata/drive_webapps_registry.h"
15 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" 14 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h"
15 #include "chrome/browser/google_api/drive_api_parser.h"
16 #include "chrome/common/chrome_paths.h" 16 #include "chrome/common/chrome_paths.h"
17 #include "content/public/test/test_browser_thread.h" 17 #include "content/public/test/test_browser_thread.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 using base::Value; 20 using base::Value;
21 using base::DictionaryValue; 21 using base::DictionaryValue;
22 using base::ListValue; 22 using base::ListValue;
23 23
24 namespace gdata { 24 namespace gdata {
25 25
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 // Find by secondary MIME type. 169 // Find by secondary MIME type.
170 ScopedVector<DriveWebAppInfo> secondary_app; 170 ScopedVector<DriveWebAppInfo> secondary_app;
171 web_apps->GetWebAppsForFile(FilePath(), "text/html", &secondary_app); 171 web_apps->GetWebAppsForFile(FilePath(), "text/html", &secondary_app);
172 ASSERT_EQ(1U, secondary_app.size()); 172 ASSERT_EQ(1U, secondary_app.size());
173 VerifyApp(secondary_app, "abcdefghabcdefghabcdefghabcdefgh", "123456788192", 173 VerifyApp(secondary_app, "abcdefghabcdefghabcdefghabcdefgh", "123456788192",
174 "Drive app 1", "", false); 174 "Drive app 1", "", false);
175 } 175 }
176 176
177 } // namespace gdata 177 } // namespace gdata
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698