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

Side by Side Diff: chrome/browser/chromeos/gdata/mock_drive_service.h

Issue 10920091: Move Drive API files to google_apis directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable some tests 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 // This file contains mocks for classes in drive_service_interface.h 5 // This file contains mocks for classes in drive_service_interface.h
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DRIVE_SERVICE_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DRIVE_SERVICE_H_
8 #define CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DRIVE_SERVICE_H_ 8 #define CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DRIVE_SERVICE_H_
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/chromeos/gdata/drive_service_interface.h" 13 #include "chrome/browser/google_apis/drive_service_interface.h"
14 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
15 15
16 class FilePath; 16 class FilePath;
17 17
18 namespace gdata { 18 namespace gdata {
19 19
20 class MockDriveService : public DriveServiceInterface { 20 class MockDriveService : public DriveServiceInterface {
21 public: 21 public:
22 // DriveService is usually owned and created by DriveFileSystem. 22 // DriveService is usually owned and created by DriveFileSystem.
23 MockDriveService(); 23 MockDriveService();
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 scoped_ptr<base::Value> search_result_; 188 scoped_ptr<base::Value> search_result_;
189 189
190 // File data to be written to the local temporary file when 190 // File data to be written to the local temporary file when
191 // DownloadDocumentStub is called. 191 // DownloadDocumentStub is called.
192 scoped_ptr<std::string> file_data_; 192 scoped_ptr<std::string> file_data_;
193 }; 193 };
194 194
195 } // namespace gdata 195 } // namespace gdata
196 196
197 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DRIVE_SERVICE_H_ 197 #endif // CHROME_BROWSER_CHROMEOS_GDATA_MOCK_DRIVE_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698