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

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

Issue 492133002: Renderer changes for wiring up shared memory with declarative injection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add browsertests Created 6 years, 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
Devlin 2014/08/25 22:31:06 this too
Mark Dittmer 2014/08/26 17:53:58 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698