| OLD | NEW |
| 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 <stddef.h> |
| 6 |
| 5 #include <vector> | 7 #include <vector> |
| 6 | 8 |
| 7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 8 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 9 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 10 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
| 11 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
| 12 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
| 13 #include "chrome/browser/extensions/extension_service.h" | 15 #include "chrome/browser/extensions/extension_service.h" |
| 14 #include "chrome/browser/extensions/test_extension_system.h" | 16 #include "chrome/browser/extensions/test_extension_system.h" |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 for (FSInfoMap::iterator i = results.begin(); i != results.end(); ++i) { | 174 for (FSInfoMap::iterator i = results.begin(); i != results.end(); ++i) { |
| 173 MediaFileSystemInfo info = i->second; | 175 MediaFileSystemInfo info = i->second; |
| 174 if (info.path == location) { | 176 if (info.path == location) { |
| 175 CheckGalleryInfo(info, location.LossyDisplayName(), location, true, true); | 177 CheckGalleryInfo(info, location.LossyDisplayName(), location, true, true); |
| 176 checked = true; | 178 checked = true; |
| 177 break; | 179 break; |
| 178 } | 180 } |
| 179 } | 181 } |
| 180 EXPECT_TRUE(checked); | 182 EXPECT_TRUE(checked); |
| 181 } | 183 } |
| OLD | NEW |