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

Side by Side Diff: chrome/browser/sync/test/live_sync/extensions_helper.h

Issue 7828055: Move sync test code out of chrome/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TEST_LIVE_SYNC_EXTENSIONS_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_EXTENSIONS_HELPER_H_
6 #define CHROME_TEST_LIVE_SYNC_EXTENSIONS_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_EXTENSIONS_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "chrome/test/live_sync/live_sync_test.h" 14 #include "chrome/browser/sync/test/live_sync/live_sync_test.h"
15 15
16 class Profile; 16 class Profile;
17 17
18 namespace extensions_helper { 18 namespace extensions_helper {
19 19
20 // Returns true iff the profile with index |index| has the same extensions 20 // Returns true iff the profile with index |index| has the same extensions
21 // as the verifier. 21 // as the verifier.
22 bool HasSameExtensionsAsVerifier(int index) WARN_UNUSED_RESULT; 22 bool HasSameExtensionsAsVerifier(int index) WARN_UNUSED_RESULT;
23 23
24 // Returns true iff all existing profiles have the same extensions 24 // Returns true iff all existing profiles have the same extensions
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 // Returns a unique extension name based in the integer |index|. 64 // Returns a unique extension name based in the integer |index|.
65 std::string CreateFakeExtensionName(int index); 65 std::string CreateFakeExtensionName(int index);
66 66
67 // Converts a fake extension name back into the index used to generate it. 67 // Converts a fake extension name back into the index used to generate it.
68 // Returns true if successful, false on failure. 68 // Returns true if successful, false on failure.
69 bool ExtensionNameToIndex(const std::string& name, int* index); 69 bool ExtensionNameToIndex(const std::string& name, int* index);
70 70
71 } // namespace extensions_helper 71 } // namespace extensions_helper
72 72
73 #endif // CHROME_TEST_LIVE_SYNC_EXTENSIONS_HELPER_H_ 73 #endif // CHROME_BROWSER_SYNC_TEST_LIVE_SYNC_EXTENSIONS_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/live_sync/bookmarks_helper.cc ('k') | chrome/browser/sync/test/live_sync/extensions_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698