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

Side by Side Diff: chrome/browser/extensions/sandboxed_extension_unpacker_unittest.cc

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_util.h" 5 #include "base/file_util.h"
6 #include "base/memory/ref_counted.h" 6 #include "base/memory/ref_counted.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/scoped_temp_dir.h" 8 #include "base/scoped_temp_dir.h"
9 #include "base/scoped_temp_dir.h" 9 #include "base/scoped_temp_dir.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/values.h"
11 #include "chrome/browser/extensions/sandboxed_extension_unpacker.h" 12 #include "chrome/browser/extensions/sandboxed_extension_unpacker.h"
12 #include "chrome/common/chrome_paths.h" 13 #include "chrome/common/chrome_paths.h"
13 #include "chrome/common/extensions/extension.h" 14 #include "chrome/common/extensions/extension.h"
14 #include "chrome/common/extensions/extension_constants.h" 15 #include "chrome/common/extensions/extension_constants.h"
15 #include "chrome/common/extensions/extension_unpacker.h" 16 #include "chrome/common/extensions/extension_unpacker.h"
16 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
18 #include "third_party/skia/include/core/SkBitmap.h" 19 #include "third_party/skia/include/core/SkBitmap.h"
19 20
20 namespace errors = extension_manifest_errors; 21 namespace errors = extension_manifest_errors;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 OnUnpackSucceeded(); 206 OnUnpackSucceeded();
206 207
207 // Check that there is newer _locales/en_US/messages.json file. 208 // Check that there is newer _locales/en_US/messages.json file.
208 base::PlatformFileInfo new_info; 209 base::PlatformFileInfo new_info;
209 EXPECT_TRUE(file_util::GetFileInfo(messages_file, &new_info)); 210 EXPECT_TRUE(file_util::GetFileInfo(messages_file, &new_info));
210 211
211 EXPECT_TRUE(new_info.last_modified > old_info.last_modified); 212 EXPECT_TRUE(new_info.last_modified > old_info.last_modified);
212 213
213 ASSERT_TRUE(TempFilesRemoved()); 214 ASSERT_TRUE(TempFilesRemoved());
214 } 215 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/sandboxed_extension_unpacker.h ('k') | chrome/browser/extensions/test_extension_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698