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

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

Issue 8820016: Don't attempt to forward declare StringPiece. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include order. Created 9 years 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
« no previous file with comments | « base/sys_string_conversions.h ('k') | chrome/common/jstemplate_builder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/gtest_prod_util.h" 14 #include "base/gtest_prod_util.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/shared_memory.h" 16 #include "base/shared_memory.h"
17 #include "base/string_piece.h"
17 #include "chrome/browser/extensions/extension_info_map.h" 18 #include "chrome/browser/extensions/extension_info_map.h"
18 #include "chrome/common/extensions/extension_messages.h" 19 #include "chrome/common/extensions/extension_messages.h"
19 #include "chrome/common/extensions/extension_set.h" 20 #include "chrome/common/extensions/extension_set.h"
20 #include "chrome/common/extensions/user_script.h" 21 #include "chrome/common/extensions/user_script.h"
21 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
22 #include "content/public/browser/notification_observer.h" 23 #include "content/public/browser/notification_observer.h"
23 #include "content/public/browser/notification_registrar.h" 24 #include "content/public/browser/notification_registrar.h"
24 25
25 namespace base {
26 class StringPiece;
27 }
28
29 namespace content { 26 namespace content {
30 class RenderProcessHost; 27 class RenderProcessHost;
31 } 28 }
32 29
33 class Profile; 30 class Profile;
34 31
35 typedef std::map<std::string, ExtensionSet::ExtensionPathAndDefaultLocale> 32 typedef std::map<std::string, ExtensionSet::ExtensionPathAndDefaultLocale>
36 ExtensionsInfo; 33 ExtensionsInfo;
37 34
38 // Manages a segment of shared memory that contains the user scripts the user 35 // Manages a segment of shared memory that contains the user scripts the user
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // finishes. This boolean tracks whether another load is pending. 162 // finishes. This boolean tracks whether another load is pending.
166 bool pending_load_; 163 bool pending_load_;
167 164
168 // The profile for which the scripts managed here are installed. 165 // The profile for which the scripts managed here are installed.
169 Profile* profile_; 166 Profile* profile_;
170 167
171 DISALLOW_COPY_AND_ASSIGN(UserScriptMaster); 168 DISALLOW_COPY_AND_ASSIGN(UserScriptMaster);
172 }; 169 };
173 170
174 #endif // CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_ 171 #endif // CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_
OLDNEW
« no previous file with comments | « base/sys_string_conversions.h ('k') | chrome/common/jstemplate_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698