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

Side by Side Diff: chrome/browser/extensions/user_script_master.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/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 #ifndef CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_
6 #define CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 // The message loop to call our master back on. 107 // The message loop to call our master back on.
108 // Expected to always outlive us. 108 // Expected to always outlive us.
109 BrowserThread::ID master_thread_id_; 109 BrowserThread::ID master_thread_id_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(ScriptReloader); 111 DISALLOW_COPY_AND_ASSIGN(ScriptReloader);
112 }; 112 };
113 113
114 private: 114 private:
115 // NotificationObserver implementation. 115 // NotificationObserver implementation.
116 virtual void Observe(NotificationType type, 116 virtual void Observe(int type,
117 const NotificationSource& source, 117 const NotificationSource& source,
118 const NotificationDetails& details); 118 const NotificationDetails& details);
119 119
120 // Sends the renderer process a new set of user scripts. 120 // Sends the renderer process a new set of user scripts.
121 void SendUpdate(RenderProcessHost* process, 121 void SendUpdate(RenderProcessHost* process,
122 base::SharedMemory* shared_memory); 122 base::SharedMemory* shared_memory);
123 123
124 // Manages our notification registrations. 124 // Manages our notification registrations.
125 NotificationRegistrar registrar_; 125 NotificationRegistrar registrar_;
126 126
(...skipping 15 matching lines...) Expand all
142 // finishes. This boolean tracks whether another load is pending. 142 // finishes. This boolean tracks whether another load is pending.
143 bool pending_load_; 143 bool pending_load_;
144 144
145 // The profile for which the scripts managed here are installed. 145 // The profile for which the scripts managed here are installed.
146 Profile* profile_; 146 Profile* profile_;
147 147
148 DISALLOW_COPY_AND_ASSIGN(UserScriptMaster); 148 DISALLOW_COPY_AND_ASSIGN(UserScriptMaster);
149 }; 149 };
150 150
151 #endif // CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_ 151 #endif // CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/user_script_listener_unittest.cc ('k') | chrome/browser/extensions/user_script_master.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698