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

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

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_
6 #define CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ 6 #define CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_
7 #pragma once
8 7
9 #include "base/version.h" 8 #include "base/version.h"
10 #include "chrome/common/extensions/extension.h" 9 #include "chrome/common/extensions/extension.h"
11 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
12 11
13 // A pending extension is an extension that hasn't been installed yet 12 // A pending extension is an extension that hasn't been installed yet
14 // and is intended to be installed in the next auto-update cycle. The 13 // and is intended to be installed in the next auto-update cycle. The
15 // update URL of a pending extension may be blank, in which case a 14 // update URL of a pending extension may be blank, in which case a
16 // default one is assumed. 15 // default one is assumed.
17 // TODO(skerner): Make this class an implementation detail of 16 // TODO(skerner): Make this class an implementation detail of
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ShouldAllowInstallPredicate should_allow_install_; 65 ShouldAllowInstallPredicate should_allow_install_;
67 66
68 bool is_from_sync_; // This update check was initiated from sync. 67 bool is_from_sync_; // This update check was initiated from sync.
69 bool install_silently_; 68 bool install_silently_;
70 extensions::Extension::Location install_source_; 69 extensions::Extension::Location install_source_;
71 70
72 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, AddPendingExtensionFromSync); 71 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, AddPendingExtensionFromSync);
73 }; 72 };
74 73
75 #endif // CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_ 74 #endif // CHROME_BROWSER_EXTENSIONS_PENDING_EXTENSION_INFO_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/page_action_controller.h ('k') | chrome/browser/extensions/pending_extension_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698