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

Side by Side Diff: components/component_updater/component_updater_utils.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_COMPONENT_UPDATER_UTILS_H_ 5 #ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_UTILS_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_UTILS_H_ 6 #define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 struct CrxComponent; 10 struct CrxComponent;
11 class GURL; 11 class GURL;
12 12
13 namespace base { 13 namespace base {
14 class FilePath; 14 class FilePath;
15 } 15 }
16 16
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // parent directory is not empty, the function ignores deleting the directory. 80 // parent directory is not empty, the function ignores deleting the directory.
81 // Returns true if the file and the empty directory are deleted. 81 // Returns true if the file and the empty directory are deleted.
82 bool DeleteFileAndEmptyParentDirectory(const base::FilePath& filepath); 82 bool DeleteFileAndEmptyParentDirectory(const base::FilePath& filepath);
83 83
84 // Returns the component id of the |component|. The component id is in a 84 // Returns the component id of the |component|. The component id is in a
85 // format similar with the format of an extension id. 85 // format similar with the format of an extension id.
86 std::string GetCrxComponentID(const CrxComponent& component); 86 std::string GetCrxComponentID(const CrxComponent& component);
87 87
88 } // namespace component_updater 88 } // namespace component_updater
89 89
90 #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_UTILS_H_ 90 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_UTILS_H_
OLDNEW
« no previous file with comments | « components/component_updater/component_updater_service.cc ('k') | components/component_updater/component_updater_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698