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

Side by Side Diff: chrome_frame/ready_mode/internal/installation_state.h

Issue 5747002: Implement a ReadyPromptContent that displays a prompt to accept, temporarily ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 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 #ifndef CHROME_FRAME_READY_MODE_INTERNAL_INSTALLATION_STATE_H_
6 #define CHROME_FRAME_READY_MODE_INTERNAL_INSTALLATION_STATE_H_
grt (UTC plus 2) 2010/12/11 03:12:06 #pragma once
erikwright (departed) 2010/12/14 16:15:17 Done.
7
8 // Provides an interface to query and manipulate the registration and
9 // installation state of the product.
10 class InstallationState {
11 public:
12 virtual ~InstallationState() {}
13
14 // Queries the installation state of the product (whether the product appears
15 // in "Add/Remove Programs" or its equivalent).
16 virtual bool IsProductInstalled() = 0;
17
18 // Queries the registration state of the product (whether the COM objects,
19 // BHO, etc. are registered).
20 virtual bool IsProductRegistered() = 0;
21
22 // Installs the product. Returns true iff successful.
23 virtual bool InstallProduct() = 0;
24
25 // Unregisters the product. Fails if the product is installed. Returns true
26 // iff successful.
27 virtual bool UnregisterProduct() = 0;
28 }; // InstallationState
grt (UTC plus 2) 2010/12/11 03:12:06 }; // class InstallationState
erikwright (departed) 2010/12/14 16:15:17 Done.
29
30 #endif // CHROME_FRAME_READY_MODE_INTERNAL_INSTALLATION_STATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698