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

Unified Diff: base/win/shortcut.h

Issue 1124763003: Update from https://crrev.com/327068 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: update nacl, buildtools, fix display_change_notifier_unittest Created 5 years, 7 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
Index: base/win/shortcut.h
diff --git a/base/win/shortcut.h b/base/win/shortcut.h
index 2feb4c3aa9edb633cc0fd338da6536955b9f682c..6f7d10c8ee715a397fe49b5faf0964305ee44c82 100644
--- a/base/win/shortcut.h
+++ b/base/win/shortcut.h
@@ -7,6 +7,7 @@
#include <windows.h>
+#include "base/base_export.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/strings/string16.h"
@@ -29,7 +30,7 @@ enum ShortcutOperation {
// creation/update, others will be ignored.
// Callers are encouraged to use the setters provided which take care of
// setting |options| as desired.
-struct ShortcutProperties {
+struct BASE_EXPORT ShortcutProperties {
enum IndividualProperties {
PROPERTIES_TARGET = 1U << 0,
PROPERTIES_WORKING_DIR = 1U << 1,
@@ -48,7 +49,8 @@ struct ShortcutProperties {
PROPERTIES_ALL = PROPERTIES_BASIC | PROPERTIES_WIN7
};
- ShortcutProperties() : icon_index(-1), dual_mode(false), options(0U) {}
+ ShortcutProperties();
+ ~ShortcutProperties();
void set_target(const FilePath& target_in) {
target = target_in;

Powered by Google App Engine
This is Rietveld 408576698