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

Side by Side Diff: chrome_frame/test/ie_configurator.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/test/http_negotiate_unittest.cc ('k') | chrome_frame/test/ie_configurator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // The IE configurator mutates Internet Explorer's configuration to put it in a
6 // (thought to be) known good state for the Chrome Frame tests. The current
7 // user's IE configuration may be left in a different state than it was
8 // initially; see the implementation for details.
9
10 #ifndef CHROME_FRAME_TEST_IE_CONFIGURATOR_H_
11 #define CHROME_FRAME_TEST_IE_CONFIGURATOR_H_
12
13 #include "base/basictypes.h"
14
15 namespace chrome_frame_test {
16
17 // Abstract interface to be implemented for per-version configurators.
18 class IEConfigurator {
19 public:
20 virtual ~IEConfigurator();
21
22 // Initializes a configurator, causing it to cache existing configuration
23 // settings that it will modify.
24 virtual void Initialize() = 0;
25
26 // Applies all configuration settings.
27 virtual void ApplySettings() = 0;
28
29 // Reverts all configuration settings.
30 virtual void RevertSettings() = 0;
31
32 protected:
33 IEConfigurator();
34 };
35
36 // Returns a new configurator for the current configuration, or NULL if none
37 // applies.
38 IEConfigurator* CreateConfigurator();
39
40 // Installs a configurator in the Google Test unit test singleton.
41 void InstallIEConfigurator();
42
43 } // namespace chrome_frame_test
44
45 #endif // CHROME_FRAME_TEST_IE_CONFIGURATOR_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/http_negotiate_unittest.cc ('k') | chrome_frame/test/ie_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698