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

Side by Side Diff: chrome/browser/google_apis/test_util.h

Issue 12229002: Misc cleanups in Drive code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 #ifndef CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_ 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_
6 #define CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_ 6 #define CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "chrome/browser/google_apis/gdata_errorcode.h" 11 #include "chrome/browser/google_apis/gdata_errorcode.h"
12 #include "googleurl/src/gurl.h" 12
13 class GURL;
13 14
14 namespace base { 15 namespace base {
15 class FilePath; 16 class FilePath;
16 class Value; 17 class Value;
17 } 18 }
18 19
19 namespace google_apis { 20 namespace google_apis {
20 21
21 class AppList; 22 class AppList;
22 class AccountMetadataFeed; 23 class AccountMetadataFeed;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // Returns true if |json_data| is not NULL and equals to the content in 151 // Returns true if |json_data| is not NULL and equals to the content in
151 // |expected_json_file_path|. The failure reason will be logged into LOG(ERROR) 152 // |expected_json_file_path|. The failure reason will be logged into LOG(ERROR)
152 // if necessary. 153 // if necessary.
153 bool VerifyJsonData(const base::FilePath& expected_json_file_path, 154 bool VerifyJsonData(const base::FilePath& expected_json_file_path,
154 const base::Value* json_data); 155 const base::Value* json_data);
155 156
156 } // namespace test_util 157 } // namespace test_util
157 } // namespace google_apis 158 } // namespace google_apis
158 159
159 #endif // CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_ 160 #endif // CHROME_BROWSER_GOOGLE_APIS_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698