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

Side by Side Diff: chrome/browser/rlz/rlz_extension_api.h

Issue 11226060: RLZ: remove hard-coded Win || Mac conditions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 8 years, 1 month 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/browser/rlz/rlz.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_RLZ_RLZ_EXTENSION_API_H_ 5 #ifndef CHROME_BROWSER_RLZ_RLZ_EXTENSION_API_H_
6 #define CHROME_BROWSER_RLZ_RLZ_EXTENSION_API_H_ 6 #define CHROME_BROWSER_RLZ_RLZ_EXTENSION_API_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN) || defined(OS_MACOSX) 10 #if defined(ENABLE_RLZ)
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/extensions/extension_function.h" 13 #include "chrome/browser/extensions/extension_function.h"
14 #include "rlz/lib/lib_values.h" 14 #include "rlz/lib/lib_values.h"
15 15
16 class RlzRecordProductEventFunction : public SyncExtensionFunction { 16 class RlzRecordProductEventFunction : public SyncExtensionFunction {
17 public: 17 public:
18 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.recordProductEvent") 18 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.recordProductEvent")
19 19
20 protected: 20 protected:
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 public: 65 public:
66 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.clearProductState") 66 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.clearProductState")
67 67
68 protected: 68 protected:
69 virtual ~RlzClearProductStateFunction() {} 69 virtual ~RlzClearProductStateFunction() {}
70 70
71 // ExtensionFunction: 71 // ExtensionFunction:
72 virtual bool RunImpl() OVERRIDE; 72 virtual bool RunImpl() OVERRIDE;
73 }; 73 };
74 74
75 #endif // defined(OS_WIN) || defined(OS_MACOSX) 75 #endif // defined(ENABLE_RLZ)
76 76
77 #endif // CHROME_BROWSER_RLZ_RLZ_EXTENSION_API_H_ 77 #endif // CHROME_BROWSER_RLZ_RLZ_EXTENSION_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/rlz/rlz.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698