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

Side by Side Diff: chrome/browser/component_updater/pnacl/pnacl_component_installer.h

Issue 449643002: Componentize component_updater: Move over a bunch of files to the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/version.h" 15 #include "base/version.h"
16 #include "chrome/browser/component_updater/component_updater_service.h" 16 #include "components/component_updater/component_updater_service.h"
17 17
18 namespace base { 18 namespace base {
19 class DictionaryValue; 19 class DictionaryValue;
20 } 20 }
21 21
22 namespace pnacl { 22 namespace pnacl {
23 // Returns true if PNaCl actually needs an on-demand component update. 23 // Returns true if PNaCl actually needs an on-demand component update.
24 // E.g., if PNaCl is not yet installed and the user is loading a PNaCl app, 24 // E.g., if PNaCl is not yet installed and the user is loading a PNaCl app,
25 // or the current version is behind chrome's version, and is ABI incompatible 25 // or the current version is behind chrome's version, and is ABI incompatible
26 // with chrome. If not necessary, returns false. 26 // with chrome. If not necessary, returns false.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 private: 73 private:
74 base::Version current_version_; 74 base::Version current_version_;
75 std::string current_fingerprint_; 75 std::string current_fingerprint_;
76 ComponentUpdateService* cus_; 76 ComponentUpdateService* cus_;
77 DISALLOW_COPY_AND_ASSIGN(PnaclComponentInstaller); 77 DISALLOW_COPY_AND_ASSIGN(PnaclComponentInstaller);
78 }; 78 };
79 79
80 } // namespace component_updater 80 } // namespace component_updater
81 81
82 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_ 82 #endif // CHROME_BROWSER_COMPONENT_UPDATER_PNACL_PNACL_COMPONENT_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698