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

Side by Side Diff: components/drive/drive_api_util_unittest.cc

Issue 1190203002: Move (most of) chrome/browser/drive into components/drive/service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 5 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 | « components/drive/drive_api_util.cc ('k') | components/drive/drive_app_registry.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "chrome/browser/drive/drive_api_util.h" 5 #include "components/drive/drive_api_util.h"
6 6
7 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
8 #include "base/md5.h" 8 #include "base/md5.h"
9 #include "google_apis/drive/drive_api_parser.h" 9 #include "google_apis/drive/drive_api_parser.h"
10 #include "google_apis/drive/test_util.h" 10 #include "google_apis/drive/test_util.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "url/gurl.h" 12 #include "url/gurl.h"
13 13
14 namespace drive { 14 namespace drive {
15 namespace util { 15 namespace util {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 EXPECT_FALSE( 101 EXPECT_FALSE(
102 HasHostedDocumentExtension(base::FilePath::FromUTF8Unsafe("xx.docx"))); 102 HasHostedDocumentExtension(base::FilePath::FromUTF8Unsafe("xx.docx")));
103 EXPECT_FALSE( 103 EXPECT_FALSE(
104 HasHostedDocumentExtension(base::FilePath::FromUTF8Unsafe("xx.jpg"))); 104 HasHostedDocumentExtension(base::FilePath::FromUTF8Unsafe("xx.jpg")));
105 EXPECT_FALSE( 105 EXPECT_FALSE(
106 HasHostedDocumentExtension(base::FilePath::FromUTF8Unsafe("xx.gmap"))); 106 HasHostedDocumentExtension(base::FilePath::FromUTF8Unsafe("xx.gmap")));
107 } 107 }
108 108
109 } // namespace util 109 } // namespace util
110 } // namespace drive 110 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/drive_api_util.cc ('k') | components/drive/drive_app_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698