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

Side by Side Diff: chrome/browser/rlz/rlz_extension_apitest.cc

Issue 8374025: Move RLZ extension API to rlz directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: header again Created 9 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_extension_api.cc ('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) 2010 The Chromium Authors. All rights reserved. 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 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 #include <map> 5 #include <map>
6 6
7 #include "base/win/registry.h" 7 #include "base/win/registry.h"
8 #include "chrome/browser/extensions/extension_function.h" 8 #include "chrome/browser/extensions/extension_function.h"
9 #include "chrome/browser/extensions/extension_function_dispatcher.h" 9 #include "chrome/browser/extensions/extension_function_dispatcher.h"
10 #include "chrome/browser/extensions/extension_apitest.h" 10 #include "chrome/browser/extensions/extension_apitest.h"
11 #include "chrome/browser/extensions/extension_rlz_module.h" 11 #include "chrome/browser/rlz/rlz_extension_api.h"
12 #include "chrome/common/chrome_switches.h" 12 #include "chrome/common/chrome_switches.h"
13 #include "chrome/common/extensions/extension.h" 13 #include "chrome/common/extensions/extension.h"
14 #include "rlz/win/lib/rlz_lib.h" 14 #include "rlz/win/lib/rlz_lib.h"
15 15
16 class MockRlzSendFinancialPingFunction : public RlzSendFinancialPingFunction { 16 class MockRlzSendFinancialPingFunction : public RlzSendFinancialPingFunction {
17 virtual bool RunImpl(); 17 virtual bool RunImpl();
18 18
19 static int expected_count_; 19 static int expected_count_;
20 20
21 public: 21 public:
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 ASSERT_EQ(ERROR_SUCCESS, key.ReadValueDW(L"D4I", &value)); 90 ASSERT_EQ(ERROR_SUCCESS, key.ReadValueDW(L"D4I", &value));
91 ASSERT_EQ(1, value); 91 ASSERT_EQ(1, value);
92 92
93 key.Open(HKEY_CURRENT_USER, L"Software\\Google\\Common\\Rlz\\Events\\D", 93 key.Open(HKEY_CURRENT_USER, L"Software\\Google\\Common\\Rlz\\Events\\D",
94 KEY_READ); 94 KEY_READ);
95 ASSERT_FALSE(key.Valid()); 95 ASSERT_FALSE(key.Valid());
96 96
97 // Cleanup. 97 // Cleanup.
98 rlz_lib::ClearProductState(rlz_lib::PINYIN_IME, access_points); 98 rlz_lib::ClearProductState(rlz_lib::PINYIN_IME, access_points);
99 } 99 }
OLDNEW
« no previous file with comments | « chrome/browser/rlz/rlz_extension_api.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698