OLD | NEW |
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_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 #include "chrome/browser/sync/test/integration/sync_test.h" | 13 #include "chrome/browser/sync/test/integration/sync_test.h" |
15 | 14 |
16 class Profile; | 15 class Profile; |
17 | 16 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // Returns a unique extension name based in the integer |index|. | 68 // Returns a unique extension name based in the integer |index|. |
70 std::string CreateFakeExtensionName(int index); | 69 std::string CreateFakeExtensionName(int index); |
71 | 70 |
72 // Converts a fake extension name back into the index used to generate it. | 71 // Converts a fake extension name back into the index used to generate it. |
73 // Returns true if successful, false on failure. | 72 // Returns true if successful, false on failure. |
74 bool ExtensionNameToIndex(const std::string& name, int* index); | 73 bool ExtensionNameToIndex(const std::string& name, int* index); |
75 | 74 |
76 } // namespace extensions_helper | 75 } // namespace extensions_helper |
77 | 76 |
78 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ | 77 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_EXTENSIONS_HELPER_H_ |
OLD | NEW |