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

Side by Side Diff: chrome/renderer/extensions/user_script_scheduler.h

Issue 19678004: Move UserScript and Extension switches to top-level extensions/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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) 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 #ifndef CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_
6 #define CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_ 6 #define CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
11 #include "chrome/common/extensions/user_script.h"
12 #include "base/memory/linked_ptr.h" 11 #include "base/memory/linked_ptr.h"
13 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "extensions/common/user_script.h"
14 14
15 class RenderView; 15 class RenderView;
16 struct ExtensionMsg_ExecuteCode_Params; 16 struct ExtensionMsg_ExecuteCode_Params;
17 17
18 namespace WebKit { 18 namespace WebKit {
19 class WebFrame; 19 class WebFrame;
20 } 20 }
21 21
22 namespace extensions { 22 namespace extensions {
23 class Dispatcher; 23 class Dispatcher;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 // This is only used if we're for the main frame. 87 // This is only used if we're for the main frame.
88 std::map<UserScript::RunLocation, ExecutionQueue> pending_execution_map_; 88 std::map<UserScript::RunLocation, ExecutionQueue> pending_execution_map_;
89 89
90 Dispatcher* dispatcher_; 90 Dispatcher* dispatcher_;
91 }; 91 };
92 92
93 } // namespace extensions 93 } // namespace extensions
94 94
95 #endif // CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_ 95 #endif // CHROME_RENDERER_EXTENSIONS_USER_SCRIPT_SCHEDULER_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/user_script_unittest.cc ('k') | chrome/renderer/extensions/user_script_slave.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698