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

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

Issue 3056003: Attemp 2 at: (Closed)
Patch Set: Fix chromeos breakage 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/views/toolbar_view.cc ('k') | chrome/common/notification_type.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) 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>
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 // Runtime data: 572 // Runtime data:
573 573
574 // True if the background page is ready. 574 // True if the background page is ready.
575 bool background_page_ready_; 575 bool background_page_ready_;
576 576
577 // True while the extension is being upgraded. 577 // True while the extension is being upgraded.
578 bool being_upgraded_; 578 bool being_upgraded_;
579 579
580 FRIEND_TEST(ExtensionTest, LoadPageActionHelper); 580 FRIEND_TEST(ExtensionTest, LoadPageActionHelper);
581 FRIEND_TEST(TabStripModelTest, Apps); 581 FRIEND_TEST(TabStripModelTest, Apps);
582 FRIEND_TEST(TabStripModelTest, ToolbarVisibility);
583 582
584 DISALLOW_COPY_AND_ASSIGN(Extension); 583 DISALLOW_COPY_AND_ASSIGN(Extension);
585 }; 584 };
586 585
587 typedef std::vector<Extension*> ExtensionList; 586 typedef std::vector<Extension*> ExtensionList;
588 587
589 // Handy struct to pass core extension info around. 588 // Handy struct to pass core extension info around.
590 struct ExtensionInfo { 589 struct ExtensionInfo {
591 ExtensionInfo(const DictionaryValue* manifest, 590 ExtensionInfo(const DictionaryValue* manifest,
592 const std::string& id, 591 const std::string& id,
(...skipping 10 matching lines...) Expand all
603 scoped_ptr<DictionaryValue> extension_manifest; 602 scoped_ptr<DictionaryValue> extension_manifest;
604 std::string extension_id; 603 std::string extension_id;
605 FilePath extension_path; 604 FilePath extension_path;
606 Extension::Location extension_location; 605 Extension::Location extension_location;
607 606
608 private: 607 private:
609 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo); 608 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo);
610 }; 609 };
611 610
612 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 611 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/toolbar_view.cc ('k') | chrome/common/notification_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698