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

Side by Side Diff: chrome/common/extensions/extension.h

Issue 2934004: Try to cut down Browser/TabContents header dependencies. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix unit tests compile Created 10 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
« no previous file with comments | « chrome/browser/toolbar_model.cc ('k') | chrome/common/extensions/extension.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_COMMON_EXTENSIONS_EXTENSION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "base/version.h" 16 #include "base/version.h"
17 #include "chrome/common/extensions/extension_extent.h" 17 #include "chrome/common/extensions/extension_extent.h"
18 #include "chrome/common/extensions/user_script.h" 18 #include "chrome/common/extensions/user_script.h"
19 #include "chrome/common/extensions/url_pattern.h" 19 #include "chrome/common/extensions/url_pattern.h"
20 #include "gfx/size.h" 20 #include "gfx/size.h"
21 #include "googleurl/src/gurl.h" 21 #include "googleurl/src/gurl.h"
22 #include "testing/gtest/include/gtest/gtest_prod.h" 22 #include "testing/gtest/include/gtest/gtest_prod.h"
23 #include "third_party/skia/include/core/SkBitmap.h"
24 23
25 class ExtensionAction; 24 class ExtensionAction;
26 class ExtensionResource; 25 class ExtensionResource;
26 class SkBitmap;
27 27
28 // Represents a Chrome extension. 28 // Represents a Chrome extension.
29 class Extension { 29 class Extension {
30 public: 30 public:
31 typedef std::vector<URLPattern> URLPatternList; 31 typedef std::vector<URLPattern> URLPatternList;
32 typedef std::map<const std::string, GURL> URLOverrideMap; 32 typedef std::map<const std::string, GURL> URLOverrideMap;
33 33
34 // What an extension was loaded from. 34 // What an extension was loaded from.
35 // NOTE: These values are stored as integers in the preferences, so you 35 // NOTE: These values are stored as integers in the preferences, so you
36 // really don't want to change any existing ones. 36 // really don't want to change any existing ones.
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 scoped_ptr<DictionaryValue> extension_manifest; 600 scoped_ptr<DictionaryValue> extension_manifest;
601 std::string extension_id; 601 std::string extension_id;
602 FilePath extension_path; 602 FilePath extension_path;
603 Extension::Location extension_location; 603 Extension::Location extension_location;
604 604
605 private: 605 private:
606 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo); 606 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo);
607 }; 607 };
608 608
609 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 609 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/toolbar_model.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698