Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
|
Devlin
2014/08/21 17:14:09
??
Mark Dittmer
2014/08/21 21:22:22
Done.
| |
| 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/browser/extensions/user_script_loader.h" | 5 #include "chrome/browser/extensions/user_script_loader.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 256 | 256 |
| 257 UserScriptList user_scripts; | 257 UserScriptList user_scripts; |
| 258 user_scripts.push_back(user_script); | 258 user_scripts.push_back(user_script); |
| 259 | 259 |
| 260 UserScriptLoader::LoadScriptsForTest(&user_scripts); | 260 UserScriptLoader::LoadScriptsForTest(&user_scripts); |
| 261 | 261 |
| 262 EXPECT_EQ(content, user_scripts[0].js_scripts()[0].GetContent().as_string()); | 262 EXPECT_EQ(content, user_scripts[0].js_scripts()[0].GetContent().as_string()); |
| 263 } | 263 } |
| 264 | 264 |
| 265 } // namespace extensions | 265 } // namespace extensions |
| OLD | NEW |