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

Unified Diff: chrome_frame/registry_list_preferences_holder.h

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/register_bho.rgs ('k') | chrome_frame/registry_list_preferences_holder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/registry_list_preferences_holder.h
diff --git a/chrome_frame/registry_list_preferences_holder.h b/chrome_frame/registry_list_preferences_holder.h
deleted file mode 100644
index ec054c276f39a3d29125420d6383fe5c1f6f79c9..0000000000000000000000000000000000000000
--- a/chrome_frame/registry_list_preferences_holder.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// A utility class for accessing and caching registry preferences that take
-// the form of lists of strings.
-// TODO(robertshield): Use the RegistryWatcher stuff to keep this list up to
-// date.
-
-#ifndef CHROME_FRAME_REGISTRY_LIST_PREFERENCES_HOLDER_H_
-#define CHROME_FRAME_REGISTRY_LIST_PREFERENCES_HOLDER_H_
-
-#include <windows.h>
-
-#include <vector>
-
-#include "base/strings/string16.h"
-
-class RegistryListPreferencesHolder {
- public:
- RegistryListPreferencesHolder();
-
- // Initializes the RegistryListPreferencesHolder using the values stored
- // under the key |list_name| stored at |registry_path| under |hive|.
- void Init(HKEY hive,
- const wchar_t* registry_path,
- const wchar_t* list_name);
-
- bool Valid() const { return valid_; }
-
- // Returns true iff |string| matches any of the strings in values_, using the
- // matching logic in base's MatchPattern().
- bool ListMatches(const base::string16& string) const;
-
- // Manually add a string to values_ for testing purposes.
- void AddStringForTesting(const base::string16& string);
-
- // Reset the holder causing it to be re-initialized, for testing purposes
- // only.
- // TODO(robertshield): Remove this once the RegistryWatcher stuff is wired up.
- void ResetForTesting();
-
- private:
- std::vector<base::string16> values_;
- bool valid_;
-
- DISALLOW_COPY_AND_ASSIGN(RegistryListPreferencesHolder);
-};
-
-#endif // CHROME_FRAME_REGISTRY_LIST_PREFERENCES_HOLDER_H_
« no previous file with comments | « chrome_frame/register_bho.rgs ('k') | chrome_frame/registry_list_preferences_holder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698