Allow --force-uninstall for SxS Chrome and disallow --self-destruct.
[chromium-blink-merge.git] / chrome / browser / resources_util.h
blob5b7acec963ea36ffc2fab7649fc1157a78aa24dd
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_RESOURCES_UTIL_H_
6 #define CHROME_BROWSER_RESOURCES_UTIL_H_
8 #include <string>
10 #include "base/basictypes.h"
12 class ResourcesUtil {
13 public:
14 // Returns the theme resource id or -1 if no resource with the name exists.
15 static int GetThemeResourceId(const std::string& resource_name);
17 private:
18 ResourcesUtil() {}
19 DISALLOW_COPY_AND_ASSIGN(ResourcesUtil);
22 #endif // CHROME_BROWSER_RESOURCES_UTIL_H_