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

Side by Side Diff: chrome/common/extensions/manifest_tests/extension_manifest_test.cc

Issue 228073005: Move core extensions l10n code to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unused header is unused Created 6 years, 8 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/common/extensions/manifest_tests/extension_manifest_test.h" 5 #include "chrome/common/extensions/manifest_tests/extension_manifest_test.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/json/json_file_value_serializer.h" 9 #include "base/json/json_file_value_serializer.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/common/chrome_paths.h" 12 #include "chrome/common/chrome_paths.h"
13 #include "chrome/common/extensions/extension_l10n_util.h" 13 #include "extensions/common/extension_l10n_util.h"
14 #include "extensions/common/test_util.h" 14 #include "extensions/common/test_util.h"
15 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
16 16
17 using extensions::Extension; 17 using extensions::Extension;
18 18
19 namespace { 19 namespace {
20 20
21 // If filename is a relative path, LoadManifestFile will treat it relative to 21 // If filename is a relative path, LoadManifestFile will treat it relative to
22 // the appropriate test directory. 22 // the appropriate test directory.
23 base::DictionaryValue* LoadManifestFile(const base::FilePath& filename_path, 23 base::DictionaryValue* LoadManifestFile(const base::FilePath& filename_path,
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 testcase.location_, 273 testcase.location_,
274 testcase.flags_); 274 testcase.flags_);
275 break; 275 break;
276 case EXPECT_TYPE_SUCCESS: 276 case EXPECT_TYPE_SUCCESS:
277 LoadAndExpectSuccess(testcase.manifest_filename_.c_str(), 277 LoadAndExpectSuccess(testcase.manifest_filename_.c_str(),
278 testcase.location_, 278 testcase.location_,
279 testcase.flags_); 279 testcase.flags_);
280 break; 280 break;
281 } 281 }
282 } 282 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_l10n_util_unittest.cc ('k') | chrome/common/extensions/message_bundle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698